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