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