BrushEditor
struct · ferroui-diagnostics · v0.5.0
struct BrushEditor
An editor of a brush: shows the brush with the text of its color, opens a color view in a
flyout when pressed, and clears the brush with the clear button of its template
(PART_ClearButton).
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<BrushEditor>
Returns a strong reference to this object.
brush_property
fn brush_property() -> &'static DirectProperty<BrushEditor, Option<Rc<dyn IBrush>>>
Defines the Brush property.
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
brush
fn brush(self: &Self) -> Option<Rc<dyn IBrush>>
set_brush
fn set_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherTemplatedControlImplExtControlImplExtDerefUpcast<T>Upcast<BrushEditor>StaticTypeObjectTypeSubclassable<T>LayoutableImplInteractiveImplControlImplDefaultConstructibleFerroObjectImplStyledElementImplTemplatedControlImplInputElementImplVisualImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.