CompositionSolidColorVisual
struct · ferroui-base · v0.5.0
struct CompositionSolidColorVisual
A visual that fills its size with a color.
Members
from_visual
fn from_visual(visual: &Rc<CompositionVisual>) -> Option<CompositionSolidColorVisual>
The handle of visual as a solid color visual, if it is one.
color
fn color(self: &Self) -> Color
set_color
fn set_color(self: &Self, value: Color)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneDeref
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.