Struct azalea_block::SpruceFenceGateBlock
source · pub struct SpruceFenceGateBlock {
pub facing: FacingCardinal,
pub in_wall: bool,
pub open: bool,
pub powered: bool,
}Fields
facing: FacingCardinalin_wall: boolopen: boolpowered: boolTrait Implementations
sourceimpl Block for SpruceFenceGateBlock
impl Block for SpruceFenceGateBlock
sourceimpl Clone for SpruceFenceGateBlock
impl Clone for SpruceFenceGateBlock
sourcefn clone(&self) -> SpruceFenceGateBlock
fn clone(&self) -> SpruceFenceGateBlock
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 SpruceFenceGateBlock
impl Debug for SpruceFenceGateBlock
sourceimpl Default for SpruceFenceGateBlock
impl Default for SpruceFenceGateBlock
sourceimpl From<SpruceFenceGateBlock> for BlockState
impl From<SpruceFenceGateBlock> for BlockState
sourcefn from(b: SpruceFenceGateBlock) -> Self
fn from(b: SpruceFenceGateBlock) -> Self
Converts to this type from the input type.
impl Copy for SpruceFenceGateBlock
Auto Trait Implementations
impl RefUnwindSafe for SpruceFenceGateBlock
impl Send for SpruceFenceGateBlock
impl Sync for SpruceFenceGateBlock
impl Unpin for SpruceFenceGateBlock
impl UnwindSafe for SpruceFenceGateBlock
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