pub struct ArcPointer;Trait Implementations§
Source§impl PointerFamily for ArcPointer
impl PointerFamily for ArcPointer
type Pointer<T: 'static> = Arc<T>
fn new<T: 'static>(value: T) -> Self::Pointer<T>
fn strong_count<T: 'static>(this: &Self::Pointer<T>) -> usize
fn try_unwrap<T: 'static>(this: Self::Pointer<T>) -> Option<T>
fn get_mut<T: 'static>(this: &mut Self::Pointer<T>) -> Option<&mut T>
fn ptr_eq<T: 'static>(this: &Self::Pointer<T>, other: &Self::Pointer<T>) -> bool
fn make_mut<T: Clone + 'static>(ptr: &mut Self::Pointer<T>) -> &mut T
fn clone<T: 'static>(ptr: &Self::Pointer<T>) -> Self::Pointer<T>
fn as_ptr<T: 'static>(this: &Self::Pointer<T>) -> *const T
fn into_raw<T: 'static>(this: Self::Pointer<T>) -> *const T
Auto Trait Implementations§
impl Freeze for ArcPointer
impl RefUnwindSafe for ArcPointer
impl Send for ArcPointer
impl Sync for ArcPointer
impl Unpin for ArcPointer
impl UnwindSafe for ArcPointer
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