[−][src]Trait archery::shared_pointer::kind::SharedPointerKind
Trait for type constructors of reference-counting pointers.
Trait for type constructors of reference-counting pointers.
fn new<T>(v: T) -> Self
fn from_box<T>(v: Box<T>) -> Self
unsafe fn deref<T>(&self) -> &T
unsafe fn try_unwrap<T>(self) -> Result<T, Self>
unsafe fn get_mut<T>(&mut self) -> Option<&mut T>
unsafe fn make_mut<T: Clone>(&mut self) -> &mut T
unsafe fn strong_count<T>(&self) -> usize
unsafe fn clone<T>(&self) -> Self
unsafe fn drop<T>(&mut self)
impl SharedPointerKind for ArcK
[src]fn new<T>(v: T) -> ArcK
[src]fn from_box<T>(v: Box<T>) -> ArcK
[src]unsafe fn deref<T>(&self) -> &T
[src]unsafe fn try_unwrap<T>(self) -> Result<T, ArcK>
[src]unsafe fn get_mut<T>(&mut self) -> Option<&mut T>
[src]unsafe fn make_mut<T: Clone>(&mut self) -> &mut T
[src]unsafe fn strong_count<T>(&self) -> usize
[src]unsafe fn clone<T>(&self) -> ArcK
[src]unsafe fn drop<T>(&mut self)
[src]impl SharedPointerKind for RcK
[src]fn new<T>(v: T) -> RcK
[src]fn from_box<T>(v: Box<T>) -> RcK
[src]unsafe fn deref<T>(&self) -> &T
[src]unsafe fn try_unwrap<T>(self) -> Result<T, RcK>
[src]unsafe fn get_mut<T>(&mut self) -> Option<&mut T>
[src]unsafe fn make_mut<T: Clone>(&mut self) -> &mut T
[src]unsafe fn strong_count<T>(&self) -> usize
[src]unsafe fn clone<T>(&self) -> RcK
[src]unsafe fn drop<T>(&mut self)
[src]