pub struct Modes {
pub translate: bool,
pub rotate: bool,
pub scale: bool,
}Expand description
What a gizmo lets the user do.
Fields§
§translate: boolMove along an axis, in a plane of two, or freely.
rotate: boolTurn about an axis.
scale: boolScale along an axis, or evenly.
Trait Implementations§
impl Copy for Modes
impl Eq for Modes
impl StructuralPartialEq for Modes
Auto Trait Implementations§
impl Freeze for Modes
impl RefUnwindSafe for Modes
impl Send for Modes
impl Sync for Modes
impl Unpin for Modes
impl UnsafeUnpin for Modes
impl UnwindSafe for Modes
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