PropertyNumberScrubber
struct · ferroui-designer · v0.5.0
struct PropertyNumberScrubber
A property-name label that also scrubs a numeric value. Dragging shows a local draft; releasing commits once. Escape, pointer capture loss and reconfiguration cancel.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PropertyNumberScrubber>
Returns a strong reference to this object.
new
fn new() -> Ref<Self>
configure
fn configure(self: &Self, label: &str, value: f64, options: PropertyNumberOptions) -> Result<(), String>
value
fn value(self: &Self) -> f64
draft_value
fn draft_value(self: &Self) -> Option<f64>
on_commit
fn on_commit(self: &Self, callback: impl Fn(f64) -> () + 'static)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherControlImplExtSameDerefUpcast<T>Upcast<PropertyNumberScrubber>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplLayoutableImplInteractiveImplControlImplInputElementImplVisualImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.