pub enum StructureMode {
Save = 0,
Load = 1,
Corner = 2,
Data = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for StructureMode
impl Clone for StructureMode
Source§fn clone(&self) -> StructureMode
fn clone(&self) -> StructureMode
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 StructureMode
impl Debug for StructureMode
Source§impl From<u16> for StructureMode
impl From<u16> for StructureMode
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StructureMode
impl PartialEq for StructureMode
Source§impl Property for StructureMode
impl Property for StructureMode
type Value = StructureMode
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for StructureMode
impl Eq for StructureMode
impl StructuralPartialEq for StructureMode
Auto Trait Implementations§
impl Freeze for StructureMode
impl RefUnwindSafe for StructureMode
impl Send for StructureMode
impl Sync for StructureMode
impl Unpin for StructureMode
impl UnwindSafe for StructureMode
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