#[repr(C)]pub struct zvec_string_view_t {
pub data: *const c_char,
pub length: usize,
}Expand description
A non-owning view of a string (pointer + length).
Fields§
§data: *const c_char§length: usizeAuto Trait Implementations§
impl !Send for zvec_string_view_t
impl !Sync for zvec_string_view_t
impl Freeze for zvec_string_view_t
impl RefUnwindSafe for zvec_string_view_t
impl Unpin for zvec_string_view_t
impl UnsafeUnpin for zvec_string_view_t
impl UnwindSafe for zvec_string_view_t
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