#[repr(C)]pub struct LeviRsStr {
pub ptr: *const u8,
pub len: usize,
}Expand description
UTF-8 string view. Not guaranteed NUL-terminated.
Fields§
§ptr: *const u8§len: usizeTrait Implementations§
Auto Trait Implementations§
impl !Send for LeviRsStr
impl !Sync for LeviRsStr
impl Freeze for LeviRsStr
impl RefUnwindSafe for LeviRsStr
impl Unpin for LeviRsStr
impl UnsafeUnpin for LeviRsStr
impl UnwindSafe for LeviRsStr
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