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