Enum BlockFace
#[non_exhaustive]pub enum BlockFace {
Down,
Up,
North,
South,
West,
East,
}Expand description
A block face for a level support query.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Down
Facing down (-y).
Up
Facing up (+y).
North
Facing north (-z).
South
Facing south (+z).
West
Facing west (-x).
East
Facing east (+x).
Trait Implementations§
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 UnsafeUnpin 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