pub struct ArcK { /* private fields */ }Expand description
Type constructors for
Arc pointers.
Trait Implementations
pub fn new<T>(v: T) -> ArcK
pub fn from_box<T>(v: Box<T, Global>) -> ArcK
pub unsafe fn as_ptr<T>(&self) -> *const T
pub unsafe fn deref<T>(&self) -> &T
pub unsafe fn try_unwrap<T>(self) -> Result<T, ArcK>
pub unsafe fn get_mut<T>(&mut self) -> Option<&mut T>
pub unsafe fn make_mut<T>(&mut self) -> &mut T where
T: Clone,
pub unsafe fn strong_count<T>(&self) -> usize
pub unsafe fn clone<T>(&self) -> ArcK
pub unsafe fn drop<T>(&mut self)
Auto Trait Implementations
impl RefUnwindSafe for ArcK
impl Send for ArcK
impl Sync for ArcK
impl Unpin for ArcK
impl UnwindSafe for ArcK
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more