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