#[repr(C)]pub struct PioStringView {
pub data: *const c_char,
pub len: usize,
}Expand description
Borrowed UTF-8 bytes. The bytes need not end in NUL.
Fields§
§data: *const c_char§len: usizeTrait Implementations§
Source§impl Clone for PioStringView
impl Clone for PioStringView
Source§fn clone(&self) -> PioStringView
fn clone(&self) -> PioStringView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PioStringView
Auto Trait Implementations§
impl !Send for PioStringView
impl !Sync for PioStringView
impl Freeze for PioStringView
impl RefUnwindSafe for PioStringView
impl Unpin for PioStringView
impl UnsafeUnpin for PioStringView
impl UnwindSafe for PioStringView
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