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§
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