pub struct NativeWidePtr { /* private fields */ }Expand description
A wide pointer in native platform layout.
On most platforms this is [data_ptr, metadata], but the order can vary.
This type handles the platform-specific layout and can convert to/from
our canonical Ptr representation.
Implementations§
Trait Implementations§
Source§impl Clone for NativeWidePtr
impl Clone for NativeWidePtr
Source§fn clone(&self) -> NativeWidePtr
fn clone(&self) -> NativeWidePtr
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 Debug for NativeWidePtr
impl Debug for NativeWidePtr
Source§impl PartialEq for NativeWidePtr
impl PartialEq for NativeWidePtr
impl Copy for NativeWidePtr
impl Eq for NativeWidePtr
impl StructuralPartialEq for NativeWidePtr
Auto Trait Implementations§
impl Freeze for NativeWidePtr
impl RefUnwindSafe for NativeWidePtr
impl !Send for NativeWidePtr
impl !Sync for NativeWidePtr
impl Unpin for NativeWidePtr
impl UnwindSafe for NativeWidePtr
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