#[repr(C)]pub struct PioByteView {
pub data: *const u8,
pub len: usize,
}Expand description
Borrowed binary bytes.
Fields§
§data: *const u8§len: usizeTrait Implementations§
Source§impl Clone for PioByteView
impl Clone for PioByteView
Source§fn clone(&self) -> PioByteView
fn clone(&self) -> PioByteView
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 PioByteView
Auto Trait Implementations§
impl !Send for PioByteView
impl !Sync for PioByteView
impl Freeze for PioByteView
impl RefUnwindSafe for PioByteView
impl Unpin for PioByteView
impl UnsafeUnpin for PioByteView
impl UnwindSafe for PioByteView
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