MaterialExtensions
struct · ferroui-base · v0.5.0
struct MaterialExtensions
Extension methods for material classes.
Members
to_immutable
fn to_immutable(material: &Rc<dyn IExperimentalAcrylicMaterial>) -> Rc<dyn IExperimentalAcrylicMaterial>
Converts a material to an immutable material: the result of
IMutableExperimentalAcrylicMaterial::to_immutable
if the material is mutable, otherwise the material itself.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.