FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositionSolidColorBrush

    struct · ferroui-base · v0.5.0

    struct CompositionSolidColorBrush
    

    A composition brush that paints with a color.

    View source

    Members

    from_brush

    fn from_brush(brush: &Rc<CompositionBrush>) -> Option<CompositionSolidColorBrush>
    

    The handle of brush as a solid color brush, if it is one.

    Source

    color

    fn color(self: &Self) -> Color
    

    Source

    set_color

    fn set_color(self: &Self, value: Color)
    

    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.