Enum rkyv::rc::RcWeakResolver
source · [−]pub enum RcWeakResolver<T> {
None,
Some(RcResolver<T>),
}
Expand description
The resolver for rc::Weak
.
Variants
None
The weak pointer was null
Some(RcResolver<T>)
The weak pointer was to some shared pointer
Auto Trait Implementations
impl<T> RefUnwindSafe for RcWeakResolver<T> where
T: RefUnwindSafe,
impl<T> Send for RcWeakResolver<T> where
T: Send,
impl<T> Sync for RcWeakResolver<T> where
T: Sync,
impl<T> Unpin for RcWeakResolver<T> where
T: Unpin,
impl<T> UnwindSafe for RcWeakResolver<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
fn pointer_metadata(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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