Enum transform_gizmo::config::GizmoMode
source · pub enum GizmoMode {
Rotate,
Translate,
Scale,
}
Expand description
Operation mode of a gizmo.
Variants§
Trait Implementations§
source§impl EnumSetTypePrivate for GizmoMode
impl EnumSetTypePrivate for GizmoMode
source§const ALL_BITS: Self::Repr = {transmute(0x07): <config::GizmoMode as enumset::__internal::EnumSetTypePrivate>::Repr}
const ALL_BITS: Self::Repr = {transmute(0x07): <config::GizmoMode as enumset::__internal::EnumSetTypePrivate>::Repr}
A mask of bits that are valid in the bitset.
source§const VARIANT_COUNT: u32 = 3u32
const VARIANT_COUNT: u32 = 3u32
The number of variants in the bitset.
source§fn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
source§unsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.
source§impl PartialEq<EnumSet<GizmoMode>> for GizmoMode
impl PartialEq<EnumSet<GizmoMode>> for GizmoMode
source§impl PartialEq for GizmoMode
impl PartialEq for GizmoMode
impl Copy for GizmoMode
impl EnumSetType for GizmoMode
impl Eq for GizmoMode
Auto Trait Implementations§
impl Freeze for GizmoMode
impl RefUnwindSafe for GizmoMode
impl Send for GizmoMode
impl Sync for GizmoMode
impl Unpin for GizmoMode
impl UnwindSafe for GizmoMode
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