#[repr(C)]pub struct Symbol {
pub glyph: [u8; 4],
pub len: u8,
pub category: Category,
pub id: u16,
}Expand description
Symbol entry in the glossary
Fields§
§glyph: [u8; 4]UTF-8 encoded glyph (max 4 bytes)
len: u8Byte length of glyph
category: CategoryCategory
id: u16Symbol ID
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
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