Struct yggdrasil_rt::input::Character
source · #[repr(C)]pub struct Character {
pub unicode: char,
pub offset: u32,
pub length: u32,
}
Fields§
§unicode: char
The character id
offset: u32
start offset of character
length: u32
In different encodings, the space occupied by one byte is also different.
Trait Implementations§
source§impl PartialEq for Character
impl PartialEq for Character
impl Copy for Character
impl Eq for Character
impl StructuralPartialEq for Character
Auto Trait Implementations§
impl Freeze for Character
impl RefUnwindSafe for Character
impl Send for Character
impl Sync for Character
impl Unpin for Character
impl UnwindSafe for Character
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