Struct calc_common::Button
source · #[repr(transparent)]pub struct Button(_);
Expand description
A compact, one byte representation of a button. Can be either a Character or MetaButton
Implementations§
Trait Implementations§
source§impl From<MetaButton> for Button
impl From<MetaButton> for Button
source§fn from(value: MetaButton) -> Self
fn from(value: MetaButton) -> Self
Converts to this type from the input type.
source§impl PartialEq<Button> for Button
impl PartialEq<Button> for Button
impl Copy for Button
impl Eq for Button
impl StructuralEq for Button
impl StructuralPartialEq for Button
Auto Trait Implementations§
impl RefUnwindSafe for Button
impl Send for Button
impl Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more