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