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