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