pub struct Drag {
pub factor: Value,
pub rotation: bool,
}Expand description
Following the emitter’s movement though not attached to it.
Fields§
§factor: Value0 not at all, 1 as if attached; negative opposes, above 1 exaggerates.
rotation: boolWhether rotation is followed as well as movement.
Trait Implementations§
impl StructuralPartialEq for Drag
Auto Trait Implementations§
impl Forget for Drag
impl Freeze for Drag
impl RefUnwindSafe for Drag
impl Send for Drag
impl Sync for Drag
impl Unpin for Drag
impl UnsafeUnpin for Drag
impl UnwindSafe for Drag
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