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