#[repr(C)]
pub union Utf8Unit {
pub mValue: i8,
}
Expand description
A code unit within a UTF-8 encoded string. (A code unit is the smallest unit within the Unicode encoding of a string. For UTF-8 this is an 8-bit number; for UTF-16 it would be a 16-bit number.)
This is not the same as a single code point: in UTF-8, non-ASCII code points are constituted by multiple code units.
Fields§
§mValue: i8
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Utf8Unit
impl Send for Utf8Unit
impl Sync for Utf8Unit
impl Unpin for Utf8Unit
impl UnwindSafe for Utf8Unit
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