#[repr(C)]pub struct NativePointer {
pub len: u32,
pub capacity: u32,
pub pointer: *const (),
}Expand description
A pointer to data outside the message packet.
Fields§
§len: u32The length of the data.
capacity: u32The capacity of the data.
pointer: *const ()The pointer to the data.
Trait Implementations§
Source§impl Clone for NativePointer
impl Clone for NativePointer
Source§fn clone(&self) -> NativePointer
fn clone(&self) -> NativePointer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for NativePointer
impl Default for NativePointer
impl Copy for NativePointer
Auto Trait Implementations§
impl Freeze for NativePointer
impl RefUnwindSafe for NativePointer
impl !Send for NativePointer
impl !Sync for NativePointer
impl Unpin for NativePointer
impl UnwindSafe for NativePointer
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