pub struct StringView {
pub data: Option<*const c_char>,
pub length: Option<usize>,
}Fields§
§data: Option<*const c_char>§length: Option<usize>Implementations§
Source§impl StringView
impl StringView
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StringView
impl RefUnwindSafe for StringView
impl !Send for StringView
impl !Sync for StringView
impl Unpin for StringView
impl UnsafeUnpin for StringView
impl UnwindSafe for StringView
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