#[repr(C)]pub struct RangedPtr<T> {
pub mPtr: *mut T,
pub _phantom_0: PhantomData<UnsafeCell<T>>,
}
Fields§
§mPtr: *mut T
§_phantom_0: PhantomData<UnsafeCell<T>>
Trait Implementations§
source§impl<T> PartialEq<RangedPtr<T>> for RangedPtr<T>where
T: PartialEq<T>,
impl<T> PartialEq<RangedPtr<T>> for RangedPtr<T>where T: PartialEq<T>,
impl<T> Copy for RangedPtr<T>where T: Copy,
impl<T> StructuralPartialEq for RangedPtr<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for RangedPtr<T>
impl<T> !Send for RangedPtr<T>
impl<T> !Sync for RangedPtr<T>
impl<T> Unpin for RangedPtr<T>where T: Unpin,
impl<T> UnwindSafe for RangedPtr<T>where T: UnwindSafe + RefUnwindSafe,
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