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