pub enum AxisXZ {
X = 0,
Z = 1,
}
Variants§
Trait Implementations§
Source§impl From<u16> for AxisXZ
impl From<u16> for AxisXZ
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl Property for AxisXZ
impl Property for AxisXZ
type Value = AxisXZ
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for AxisXZ
impl Eq for AxisXZ
impl StructuralPartialEq for AxisXZ
Auto Trait Implementations§
impl Freeze for AxisXZ
impl RefUnwindSafe for AxisXZ
impl Send for AxisXZ
impl Sync for AxisXZ
impl Unpin for AxisXZ
impl UnwindSafe for AxisXZ
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