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