pub trait IMeasureFunctionMethods: IMeasureFunction {
// Provided methods
fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
fn invoke(
self,
node: impl Into<YogaNode>,
width: impl Into<f32>,
width_mode: impl Into<YogaMeasureMode>,
height: impl Into<f32>,
height_mode: impl Into<YogaMeasureMode>,
) -> YogaSize { ... }
}Provided Methods§
Sourcefn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)
fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)
.ctor(crate::system::object::Object, ::unity::IntPtr) overload
Sourcefn invoke(
self,
node: impl Into<YogaNode>,
width: impl Into<f32>,
width_mode: impl Into<YogaMeasureMode>,
height: impl Into<f32>,
height_mode: impl Into<YogaMeasureMode>,
) -> YogaSize
fn invoke( self, node: impl Into<YogaNode>, width: impl Into<f32>, width_mode: impl Into<YogaMeasureMode>, height: impl Into<f32>, height_mode: impl Into<YogaMeasureMode>, ) -> YogaSize
Invoke(crate::unity_engine::yoga::yoganode::YogaNode, f32, crate::unity_engine::yoga::yogameasuremode::YogaMeasureMode, f32, crate::unity_engine::yoga::yogameasuremode::YogaMeasureMode) 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§
impl<__T: IMeasureFunction> IMeasureFunctionMethods for __T
Available on crate feature
unity_engine-yoga-measurefunction only.