Enum calc_common::ExtendedCharacter
source · #[repr(u8)]pub enum ExtendedCharacter {
Cursor,
Space,
}
Expand description
Represents a charactor or symbol that cannot be put into an expression
Variants§
Trait Implementations§
source§impl AsMut<DrawableCharacter> for ExtendedCharacter
impl AsMut<DrawableCharacter> for ExtendedCharacter
source§fn as_mut(&mut self) -> &mut DrawableCharacter
fn as_mut(&mut self) -> &mut DrawableCharacter
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<DrawableCharacter> for ExtendedCharacter
impl AsRef<DrawableCharacter> for ExtendedCharacter
source§fn as_ref(&self) -> &DrawableCharacter
fn as_ref(&self) -> &DrawableCharacter
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ExtendedCharacter
impl Clone for ExtendedCharacter
source§fn clone(&self) -> ExtendedCharacter
fn clone(&self) -> ExtendedCharacter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<ExtendedCharacter> for DrawableCharacter
impl From<ExtendedCharacter> for DrawableCharacter
source§fn from(extended_character: ExtendedCharacter) -> Self
fn from(extended_character: ExtendedCharacter) -> Self
Converts to this type from the input type.
source§impl TransmutableFrom<ExtendedCharacter> for DrawableCharacter
impl TransmutableFrom<ExtendedCharacter> for DrawableCharacter
fn transmute_from(val: ExtendedCharacter) -> Self
fn transmute_slice_from(val: &[T]) -> &[Self]
fn transmute_slice_from_mut(val: &mut [T]) -> &mut [Self]
impl Copy for ExtendedCharacter
Auto Trait Implementations§
impl RefUnwindSafe for ExtendedCharacter
impl Send for ExtendedCharacter
impl Sync for ExtendedCharacter
impl Unpin for ExtendedCharacter
impl UnwindSafe for ExtendedCharacter
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