Struct azalea_block::ChestBlock
source · pub struct ChestBlock {
pub kind: ChestType,
pub facing: FacingCardinal,
pub waterlogged: bool,
}
Fields§
§kind: ChestType
§facing: FacingCardinal
§waterlogged: bool
Trait Implementations§
source§impl Block for ChestBlock
impl Block for ChestBlock
fn behavior(&self) -> BlockBehavior
fn id(&self) -> &'static str
fn as_blockstate(&self) -> BlockState
source§impl Clone for ChestBlock
impl Clone for ChestBlock
source§fn clone(&self) -> ChestBlock
fn clone(&self) -> ChestBlock
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 ChestBlock
impl Debug for ChestBlock
source§impl Default for ChestBlock
impl Default for ChestBlock
source§impl From<ChestBlock> for BlockState
impl From<ChestBlock> for BlockState
source§fn from(b: ChestBlock) -> Self
fn from(b: ChestBlock) -> Self
Converts to this type from the input type.