Enum rkyv::niche::option_box::OptionBoxResolver
source · [−]pub enum OptionBoxResolver<T> {
None,
Some(BoxResolver<T>),
}
Expand description
The resolver for ArchivedOptionBox
.
Variants
None
The ArchivedOptionBox
was None
Some(BoxResolver<T>)
The resolver for the ArchivedBox
Auto Trait Implementations
impl<T> RefUnwindSafe for OptionBoxResolver<T> where
T: RefUnwindSafe,
impl<T> Send for OptionBoxResolver<T> where
T: Send,
impl<T> Sync for OptionBoxResolver<T> where
T: Sync,
impl<T> Unpin for OptionBoxResolver<T> where
T: Unpin,
impl<T> UnwindSafe for OptionBoxResolver<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