#[repr(C)]pub struct U8VecRef {
pub ptr: *const u8,
pub len: usize,
}Expand description
FFI-safe wrapper for &[u8].
Fields§
§ptr: *const u8§len: usizeImplementations§
Trait Implementations§
impl Eq for U8VecRef
Source§impl Ord for U8VecRef
impl Ord for U8VecRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Auto Trait Implementations§
impl !Send for U8VecRef
impl !Sync for U8VecRef
impl Freeze for U8VecRef
impl RefUnwindSafe for U8VecRef
impl Unpin for U8VecRef
impl UnsafeUnpin for U8VecRef
impl UnwindSafe for U8VecRef
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