pub struct ArcTK { /* private fields */ }Expand description
Type constructors for
triomphe::Arc pointers.
Trait Implementations§
fn new<T>(v: T) -> ArcTK
fn from_box<T>(v: Box<T>) -> ArcTK
unsafe fn as_ptr<T>(&self) -> *const T
unsafe fn deref<T>(&self) -> &T
unsafe fn try_unwrap<T>(self) -> Result<T, ArcTK>
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) -> ArcTK
unsafe fn drop<T>(&mut self)
Auto Trait Implementations§
impl Freeze for ArcTK
impl RefUnwindSafe for ArcTK
impl Send for ArcTK
impl Sync for ArcTK
impl Unpin for ArcTK
impl UnwindSafe for ArcTK
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