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