#[repr(C)]pub struct RefPtr<T> {
pub _phantom_0: PhantomData<UnsafeCell<T>>,
pub mRawPtr: *mut T,
}Fields§
§_phantom_0: PhantomData<UnsafeCell<T>>§mRawPtr: *mut TTrait Implementations§
impl<T> StructuralPartialEq for RefPtr<T>
Auto Trait Implementations§
impl<T> Freeze for RefPtr<T>
impl<T> !RefUnwindSafe for RefPtr<T>
impl<T> !Send for RefPtr<T>
impl<T> !Sync for RefPtr<T>
impl<T> Unpin for RefPtr<T>where
T: Unpin,
impl<T> UnwindSafe for RefPtr<T>where
T: RefUnwindSafe + UnwindSafe,
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
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes