Skip to main content

IHableCurve_SegmentMethods

Trait IHableCurve_SegmentMethods 

Source
pub trait IHableCurve_SegmentMethods: IHableCurve_Segment {
    // Provided methods
    fn eval(self, x: impl Into<f32>) -> f32 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn eval(self, x: impl Into<f32>) -> f32

Eval(f32) overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IHableCurve_Segment> IHableCurve_SegmentMethods for __T

Available on crate feature unity_engine-rendering-hablecurve only.