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