Enum entmet_lib::datatypes::Axis3DVariant
source · #[repr(u8)]pub enum Axis3DVariant {
X = 0,
Y = 1,
Z = 2,
}Expand description
Enum containing how a block can be oriented in a 3D plane
Variants§
X = 0
The block is oriented towards X
Y = 1
The block is oriented towards Y
Z = 2
The block is oriented towards Z
Trait Implementations§
source§impl Clone for Axis3DVariant
impl Clone for Axis3DVariant
source§fn clone(&self) -> Axis3DVariant
fn clone(&self) -> Axis3DVariant
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for Axis3DVariant
impl Debug for Axis3DVariant
source§impl PartialEq for Axis3DVariant
impl PartialEq for Axis3DVariant
source§fn eq(&self, other: &Axis3DVariant) -> bool
fn eq(&self, other: &Axis3DVariant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for Axis3DVariant
impl StructuralPartialEq for Axis3DVariant
Auto Trait Implementations§
impl Freeze for Axis3DVariant
impl RefUnwindSafe for Axis3DVariant
impl Send for Axis3DVariant
impl Sync for Axis3DVariant
impl Unpin for Axis3DVariant
impl UnwindSafe for Axis3DVariant
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