pub struct Scrub {
pub dragging: bool,
pub ended: bool,
pub delta: f32,
}Expand description
Ergebnis eines Wert-Scrubbing-Vorgangs (Ui::scrub).
Fields§
§dragging: boolGriff hält gerade und hat die Schwelle überschritten.
ended: boolFeuert genau einmal im Loslass-Frame nach echtem Scrubben.
delta: f32Wertänderung dieses Frames (Zeigerweg mal Schrittweite).
Trait Implementations§
impl Copy for Scrub
impl StructuralPartialEq for Scrub
Auto Trait Implementations§
impl Freeze for Scrub
impl RefUnwindSafe for Scrub
impl Send for Scrub
impl Sync for Scrub
impl Unpin for Scrub
impl UnsafeUnpin for Scrub
impl UnwindSafe for Scrub
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more