pub enum ArcUnionBorrow<'a, A: 'a, B: 'a> {
    First(ArcBorrow<'a, A>),
    Second(ArcBorrow<'a, B>),
}Expand description
This represents a borrow of an ArcUnion.
Variants§
Implementations§
Source§impl<'a, A, B> ArcUnionBorrow<'a, A, B>
 
impl<'a, A, B> ArcUnionBorrow<'a, A, B>
Sourcepub fn strong_count(this: &Self) -> usize
 
pub fn strong_count(this: &Self) -> usize
The reference count of this Arc.
The number does not include borrowed pointers,
or temporary Arc pointers created with functions like
ArcBorrow::with_arc.
The function is called strong_count to mirror std::sync::Arc::strong_count,
however triomphe::Arc does not support weak references.
Trait Implementations§
Auto Trait Implementations§
impl<'a, A, B> Freeze for ArcUnionBorrow<'a, A, B>
impl<'a, A, B> RefUnwindSafe for ArcUnionBorrow<'a, A, B>where
    A: RefUnwindSafe,
    B: RefUnwindSafe,
impl<'a, A, B> Send for ArcUnionBorrow<'a, A, B>
impl<'a, A, B> Sync for ArcUnionBorrow<'a, A, B>
impl<'a, A, B> Unpin for ArcUnionBorrow<'a, A, B>
impl<'a, A, B> UnwindSafe for ArcUnionBorrow<'a, A, B>where
    A: RefUnwindSafe,
    B: RefUnwindSafe,
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