NeedleVisual
struct · ferroui-controls-livecharts · v0.5.0
struct NeedleVisual
Members
TYPEto_refconstructnewvalue_propertywidth_propertytranslate_propertyfill_propertyvalueset_numeric_valuewidthset_widthtranslateset_translatefillset_fill
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<NeedleVisual>
Returns a strong reference to this object.
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
value_property
fn value_property() -> &'static StyledProperty<f64>
width_property
fn width_property() -> &'static StyledProperty<f64>
translate_property
fn translate_property() -> &'static StyledProperty<Point>
fill_property
fn fill_property() -> &'static StyledProperty<Option<Color>>
value
fn value(self: &Self) -> f64
set_numeric_value
fn set_numeric_value(self: &Self, value: f64)
width
fn width(self: &Self) -> f64
set_width
fn set_width(self: &Self, value: f64)
translate
fn translate(self: &Self) -> Point
set_translate
fn set_translate(self: &Self, value: Point)
fill
fn fill(self: &Self) -> Option<Color>
set_fill
fn set_fill(self: &Self, value: Option<Color>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<NeedleVisual>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.