pub enum OptionBoxResolver<T> {
None,
Some(BoxResolver<T>),
}
Expand description
The resolver for ArchivedOptionBox
.
Variants§
Auto Trait Implementations§
impl<T> Freeze for OptionBoxResolver<T>where
T: Freeze,
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§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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