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