pub struct Chest {
pub kind: ChestType,
pub facing: FacingCardinal,
pub waterlogged: bool,
}
Fields§
§kind: ChestType
§facing: FacingCardinal
§waterlogged: bool
Trait Implementations§
Source§impl BlockTrait for Chest
impl BlockTrait for Chest
fn behavior(&self) -> BlockBehavior
Source§fn as_block_state(&self) -> BlockState
fn as_block_state(&self) -> BlockState
Convert the block to a block state. Read more
Source§fn as_registry_block(&self) -> Block
fn as_registry_block(&self) -> Block
Convert the block to an
azalea_registry::Block
. Read moreSource§impl From<Chest> for BlockState
impl From<Chest> for BlockState
impl Copy for Chest
impl StructuralPartialEq for Chest
Auto Trait Implementations§
impl Freeze for Chest
impl RefUnwindSafe for Chest
impl Send for Chest
impl Sync for Chest
impl Unpin for Chest
impl UnwindSafe for Chest
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