Struct azalea_block::BrownBedBlock
source · [−]pub struct BrownBedBlock {
pub facing: FacingCardinal,
pub occupied: bool,
pub part: Part,
}Fields
facing: FacingCardinaloccupied: boolpart: PartTrait Implementations
sourceimpl Block for BrownBedBlock
impl Block for BrownBedBlock
sourceimpl Clone for BrownBedBlock
impl Clone for BrownBedBlock
sourcefn clone(&self) -> BrownBedBlock
fn clone(&self) -> BrownBedBlock
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 BrownBedBlock
impl Debug for BrownBedBlock
sourceimpl Default for BrownBedBlock
impl Default for BrownBedBlock
sourceimpl From<BrownBedBlock> for BlockState
impl From<BrownBedBlock> for BlockState
sourcefn from(b: BrownBedBlock) -> Self
fn from(b: BrownBedBlock) -> Self
Converts to this type from the input type.
impl Copy for BrownBedBlock
Auto Trait Implementations
impl RefUnwindSafe for BrownBedBlock
impl Send for BrownBedBlock
impl Sync for BrownBedBlock
impl Unpin for BrownBedBlock
impl UnwindSafe for BrownBedBlock
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