pub struct PolishedBlackstoneButtonBlock {
pub face: Face,
pub facing: FacingCardinal,
pub powered: bool,
}Fields
face: Facefacing: FacingCardinalpowered: boolTrait Implementations
sourceimpl Block for PolishedBlackstoneButtonBlock
impl Block for PolishedBlackstoneButtonBlock
sourceimpl Clone for PolishedBlackstoneButtonBlock
impl Clone for PolishedBlackstoneButtonBlock
sourcefn clone(&self) -> PolishedBlackstoneButtonBlock
fn clone(&self) -> PolishedBlackstoneButtonBlock
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 PolishedBlackstoneButtonBlock
impl Debug for PolishedBlackstoneButtonBlock
sourceimpl From<PolishedBlackstoneButtonBlock> for BlockState
impl From<PolishedBlackstoneButtonBlock> for BlockState
sourcefn from(b: PolishedBlackstoneButtonBlock) -> Self
fn from(b: PolishedBlackstoneButtonBlock) -> Self
Converts to this type from the input type.
impl Copy for PolishedBlackstoneButtonBlock
Auto Trait Implementations
impl RefUnwindSafe for PolishedBlackstoneButtonBlock
impl Send for PolishedBlackstoneButtonBlock
impl Sync for PolishedBlackstoneButtonBlock
impl Unpin for PolishedBlackstoneButtonBlock
impl UnwindSafe for PolishedBlackstoneButtonBlock
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