pub struct OxPtrConst { /* private fields */ }Expand description
Read-only shaped pointer for vtable use.
Bundles a pointer with its shape. No lifetime parameter - safety is the caller’s responsibility.
Implementations§
Trait Implementations§
Source§impl Clone for OxPtrConst
impl Clone for OxPtrConst
Source§fn clone(&self) -> OxPtrConst
fn clone(&self) -> OxPtrConst
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 OxPtrConst
Auto Trait Implementations§
impl !Send for OxPtrConst
impl !Sync for OxPtrConst
impl Freeze for OxPtrConst
impl RefUnwindSafe for OxPtrConst
impl Unpin for OxPtrConst
impl UnsafeUnpin for OxPtrConst
impl UnwindSafe for OxPtrConst
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