Struct azalea_block::RepeaterBlock
source · pub struct RepeaterBlock {
pub delay: RepeaterDelay,
pub facing: FacingCardinal,
pub locked: bool,
pub powered: bool,
}Fields
delay: RepeaterDelayfacing: FacingCardinallocked: boolpowered: boolTrait Implementations
sourceimpl Block for RepeaterBlock
impl Block for RepeaterBlock
sourceimpl Clone for RepeaterBlock
impl Clone for RepeaterBlock
sourcefn clone(&self) -> RepeaterBlock
fn clone(&self) -> RepeaterBlock
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RepeaterBlock
impl Debug for RepeaterBlock
sourceimpl Default for RepeaterBlock
impl Default for RepeaterBlock
sourceimpl From<RepeaterBlock> for BlockState
impl From<RepeaterBlock> for BlockState
sourcefn from(b: RepeaterBlock) -> Self
fn from(b: RepeaterBlock) -> Self
Converts to this type from the input type.
impl Copy for RepeaterBlock
Auto Trait Implementations
impl RefUnwindSafe for RepeaterBlock
impl Send for RepeaterBlock
impl Sync for RepeaterBlock
impl Unpin for RepeaterBlock
impl UnwindSafe for RepeaterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more