pub struct PrimNames {
pub text: &'static str,
pub ascii: Option<AsciiToken>,
pub glyph: Option<char>,
}
Expand description
The names of a primitive
Fields§
§text: &'static str
The text name
ascii: Option<AsciiToken>
An ASCII token that formats to the primitive
glyph: Option<char>
The primitive’s glyph
Trait Implementations§
impl Copy for PrimNames
impl Eq for PrimNames
impl StructuralPartialEq for PrimNames
Auto Trait Implementations§
impl Freeze for PrimNames
impl RefUnwindSafe for PrimNames
impl Send for PrimNames
impl Sync for PrimNames
impl Unpin for PrimNames
impl UnwindSafe for PrimNames
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.