Skip to main content

IBaselineFunctionMethods

Trait IBaselineFunctionMethods 

Source
pub trait IBaselineFunctionMethods: IBaselineFunction {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(
        self,
        node: impl Into<YogaNode>,
        width: impl Into<f32>,
        height: impl Into<f32>,
    ) -> f32 { ... }
}

Provided Methods§

Source

fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)

.ctor(crate::system::object::Object, ::unity::IntPtr) overload

Source

fn invoke( self, node: impl Into<YogaNode>, width: impl Into<f32>, height: impl Into<f32>, ) -> f32

Invoke(crate::unity_engine::yoga::yoganode::YogaNode, f32, f32) 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: IBaselineFunction> IBaselineFunctionMethods for __T

Available on crate feature unity_engine-yoga-baselinefunction only.