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