Struct azalea_block::LightningRodBlock
source · [−]pub struct LightningRodBlock {
pub facing: FacingCubic,
pub powered: bool,
pub waterlogged: bool,
}Fields
facing: FacingCubicpowered: boolwaterlogged: boolTrait Implementations
sourceimpl Block for LightningRodBlock
impl Block for LightningRodBlock
sourceimpl Clone for LightningRodBlock
impl Clone for LightningRodBlock
sourcefn clone(&self) -> LightningRodBlock
fn clone(&self) -> LightningRodBlock
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 LightningRodBlock
impl Debug for LightningRodBlock
sourceimpl Default for LightningRodBlock
impl Default for LightningRodBlock
sourceimpl From<LightningRodBlock> for BlockState
impl From<LightningRodBlock> for BlockState
sourcefn from(b: LightningRodBlock) -> Self
fn from(b: LightningRodBlock) -> Self
Converts to this type from the input type.
impl Copy for LightningRodBlock
Auto Trait Implementations
impl RefUnwindSafe for LightningRodBlock
impl Send for LightningRodBlock
impl Sync for LightningRodBlock
impl Unpin for LightningRodBlock
impl UnwindSafe for LightningRodBlock
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