pub struct UCStr(/* private fields */);Expand description
A UTF-8 string stored as a NUL-terminated CStr.
Use the ucstringify! macro to construct UCStr constants.
Implementations§
Trait Implementations§
Source§impl Ord for UCStr
impl Ord for UCStr
Source§impl PartialOrd for UCStr
impl PartialOrd for UCStr
Source§impl ToUcstrLossy for UCStr
impl ToUcstrLossy for UCStr
fn to_ucstr_lossy(&self) -> UCStr
impl Eq for UCStr
impl StructuralPartialEq for UCStr
Auto Trait Implementations§
impl Freeze for UCStr
impl RefUnwindSafe for UCStr
impl Send for UCStr
impl Sync for UCStr
impl Unpin for UCStr
impl UnsafeUnpin for UCStr
impl UnwindSafe for UCStr
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