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 strThe text name
ascii: Option<AsciiToken>An ASCII token that formats to the primitive
glyph: Option<char>The primitive’s glyph
Trait Implementations§
source§impl PartialEq for PrimNames
impl PartialEq for PrimNames
impl Copy for PrimNames
impl Eq for PrimNames
impl StructuralEq for PrimNames
impl StructuralPartialEq for PrimNames
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more