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