pub struct RcPointer;Trait Implementations§
Source§impl PointerFamily for RcPointer
impl PointerFamily for RcPointer
type Pointer<T: 'static> = Rc<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 RcPointer
impl RefUnwindSafe for RcPointer
impl Send for RcPointer
impl Sync for RcPointer
impl Unpin for RcPointer
impl UnwindSafe for RcPointer
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