FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AsCompositionObject

    trait · ferroui-base · v0.5.0

    trait AsCompositionObject: 'static
    

    A composition object as code refers to any composition object: a reference parameter of an animation, an object stored in a property set (upstream CompositionObject as a parameter type).

    View source

    Members

    as_composition_object

    fn as_composition_object(self: &Self) -> &CompositionObject
    

    The embedded CompositionObject.

    Source

    composition_type_name

    fn composition_type_name(self: &Self) -> &'static str
    

    The name of the class of the object, for messages.

    Source

    as_property_set

    fn as_property_set(self: Rc<Self>) -> Option<Rc<CompositionPropertySet>>
    

    The object as a property set, if it is one (the is CompositionPropertySet test of upstream).

    Source

    Trait implementations

    Availability

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