Needle
struct · ferroui-livecharts · v0.5.0
struct Needle
The needle of an angular gauge (NeedleVisual with NeedleGeometry): a triangle from the
centre of the chart to 45% of its smaller side, pointing at value in the range of the
chart, over a circle of its half width at the centre.
Members
value
value: f64
width
width: f64
The width of the base of the needle (Width, 20 in the theme).
translate
translate: ferroui_base::Point
The offset of the needle (Translate).
fill
fill: Option<ferroui_base::media::Color>
The paint of the needle (Fill); None draws none.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.