FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositionContainerShape

    struct · ferroui-base · v0.5.0

    struct CompositionContainerShape
    

    A shape that groups shapes under its transform (WinUI Microsoft.UI.Composition.CompositionContainerShape): its shapes are drawn in order, in its space.

    View source

    Members

    from_shape

    fn from_shape(shape: &Rc<CompositionShape>) -> Option<CompositionContainerShape>
    

    The handle of shape as a container shape, if it is one.

    Source

    shape

    fn shape(self: &Self) -> &Rc<CompositionShape>
    

    The shape as a CompositionShape.

    Source

    shapes

    fn shapes(self: &Self) -> &Rc<CompositionShapeCollection>
    

    The shapes of the container.

    Source

    Trait implementations

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

    Availability

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