Struct BlockSide
pub struct BlockSide {
pub level: LevelRef,
pub pos: [i32; 3],
pub side: Option<Direction>,
}Expand description
A block entity a capability is asked of, by its level and position, and the side it is reached through (none: from no particular side): NeoForge’s block capability context.
Fields§
§level: LevelRefThe level.
pos: [i32; 3]The pos.
side: Option<Direction>The side.
Trait Implementations§
impl Copy for BlockSide
impl Eq for BlockSide
impl StructuralPartialEq for BlockSide
Auto Trait Implementations§
impl Freeze for BlockSide
impl RefUnwindSafe for BlockSide
impl Send for BlockSide
impl Sync for BlockSide
impl Unpin for BlockSide
impl UnsafeUnpin for BlockSide
impl UnwindSafe for BlockSide
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