pub enum ElementItemResolver{
Func(<u32 as Archive>::Resolver),
Expr(<ConstInstruction as Archive>::Resolver),
}
Expand description
The resolver for an archived ElementItem
Variants§
Func(<u32 as Archive>::Resolver)
The resolver for ElementItem::Func
Tuple Fields
§
0: <u32 as Archive>::Resolver
The resolver for ElementItem::Func::0
Expr(<ConstInstruction as Archive>::Resolver)
The resolver for ElementItem::Expr
Tuple Fields
§
0: <ConstInstruction as Archive>::Resolver
The resolver for ElementItem::Expr::0
Auto Trait Implementations§
impl Freeze for ElementItemResolver
impl RefUnwindSafe for ElementItemResolver
impl Send for ElementItemResolver
impl Sync for ElementItemResolver
impl Unpin for ElementItemResolver
impl UnwindSafe for ElementItemResolver
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
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.