pub enum CChar {
Char(char),
Raw(u64),
}
Expand description
Representation of a C character
Variants§
Char(char)
A character that can be represented as a char
Raw(u64)
Any other character (8-bit characters, unicode surrogates, etc.)
Trait Implementations§
impl Copy for CChar
impl Eq for CChar
impl StructuralPartialEq for CChar
Auto Trait Implementations§
impl Freeze for CChar
impl RefUnwindSafe for CChar
impl Send for CChar
impl Sync for CChar
impl Unpin for CChar
impl UnwindSafe for CChar
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