FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MaterialExtensions

    struct · ferroui-base · v0.5.0

    struct MaterialExtensions
    

    Extension methods for material classes.

    View source

    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.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.