pub enum CStrUnit {
Byte(u8),
Char(char),
}
Expand description
A unit within CStr. Must not be a nul character.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CStrUnit
impl RefUnwindSafe for CStrUnit
impl Send for CStrUnit
impl Sync for CStrUnit
impl Unpin for CStrUnit
impl UnwindSafe for CStrUnit
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