#[repr(C)]pub struct WnStr {
pub ptr: *const u8,
pub len: usize,
}Expand description
Borrowed UTF-8 bytes.
Fields§
§ptr: *const u8§len: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for WnStr
impl !Sync for WnStr
impl Forget for WnStr
impl Freeze for WnStr
impl Move for WnStr
impl RefUnwindSafe for WnStr
impl Unpin for WnStr
impl UnsafeUnpin for WnStr
impl UnwindSafe for WnStr
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