FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositionPathGeometry

    struct · ferroui-base · v0.5.0

    struct CompositionPathGeometry
    

    A geometry that shows a CompositionPath (WinUI Microsoft.UI.Composition.CompositionPathGeometry).

    View source

    Members

    from_geometry

    fn from_geometry(geometry: &Rc<CompositionGeometry>) -> Option<CompositionPathGeometry>
    

    The handle of geometry as a path geometry, if it is one.

    Source

    geometry

    fn geometry(self: &Self) -> &Rc<CompositionGeometry>
    

    The geometry as a CompositionGeometry.

    Source

    path

    fn path(self: &Self) -> Option<CompositionPath>
    

    The path the geometry shows.

    Source

    set_path

    fn set_path(self: &Self, value: Option<CompositionPath>)
    

    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.