pub struct OxPtrConst {
pub shape: &'static Shape,
/* 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.
Fields§
§shape: &'static ShapeThe shape describing the type.
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> From<OxRef<'a>> for OxPtrConst
impl<'a> From<OxRef<'a>> for OxPtrConst
impl Copy for OxPtrConst
Auto Trait Implementations§
impl Freeze for OxPtrConst
impl RefUnwindSafe for OxPtrConst
impl !Send for OxPtrConst
impl !Sync for OxPtrConst
impl Unpin 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