#[repr(u8)]pub enum BlockFace {
Down = 0,
Up = 1,
North = 2,
South = 3,
West = 4,
East = 5,
}Expand description
The six possible faces of a cuboid.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockFace
impl<'de> Deserialize<'de> for BlockFace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for BlockFace
impl Eq for BlockFace
impl StructuralPartialEq for BlockFace
Auto Trait Implementations§
impl Freeze for BlockFace
impl RefUnwindSafe for BlockFace
impl Send for BlockFace
impl Sync for BlockFace
impl Unpin for BlockFace
impl UnwindSafe for BlockFace
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