#[repr(C)]pub struct ArchivedModuleV0where
Box<[Instruction]>: Archive,
BTreeMap<Label, usize>: Archive,
NamedMap<ActionDef>: Archive,
NamedMap<CommandDef>: Archive,
BTreeMap<Identifier, FactDefinition>: Archive,
BTreeMap<Identifier, Vec<FieldDefinition>>: Archive,
BTreeMap<Identifier, BTreeMap<Identifier, i64>>: Archive,
Option<CodeMap>: Archive,
BTreeMap<Identifier, Value>: Archive,{
pub progmem: <Box<[Instruction]> as Archive>::Archived,
pub labels: <BTreeMap<Label, usize> as Archive>::Archived,
pub action_defs: <NamedMap<ActionDef> as Archive>::Archived,
pub command_defs: <NamedMap<CommandDef> as Archive>::Archived,
pub fact_defs: <BTreeMap<Identifier, FactDefinition> as Archive>::Archived,
pub struct_defs: <BTreeMap<Identifier, Vec<FieldDefinition>> as Archive>::Archived,
pub enum_defs: <BTreeMap<Identifier, BTreeMap<Identifier, i64>> as Archive>::Archived,
pub codemap: <Option<CodeMap> as Archive>::Archived,
pub globals: <BTreeMap<Identifier, Value> as Archive>::Archived,
}Expand description
An archived ModuleV0
Fields§
§progmem: <Box<[Instruction]> as Archive>::ArchivedThe archived counterpart of ModuleV0::progmem
labels: <BTreeMap<Label, usize> as Archive>::ArchivedThe archived counterpart of ModuleV0::labels
action_defs: <NamedMap<ActionDef> as Archive>::ArchivedThe archived counterpart of ModuleV0::action_defs
command_defs: <NamedMap<CommandDef> as Archive>::ArchivedThe archived counterpart of ModuleV0::command_defs
fact_defs: <BTreeMap<Identifier, FactDefinition> as Archive>::ArchivedThe archived counterpart of ModuleV0::fact_defs
struct_defs: <BTreeMap<Identifier, Vec<FieldDefinition>> as Archive>::ArchivedThe archived counterpart of ModuleV0::struct_defs
enum_defs: <BTreeMap<Identifier, BTreeMap<Identifier, i64>> as Archive>::ArchivedThe archived counterpart of ModuleV0::enum_defs
codemap: <Option<CodeMap> as Archive>::ArchivedThe archived counterpart of ModuleV0::codemap
globals: <BTreeMap<Identifier, Value> as Archive>::ArchivedThe archived counterpart of ModuleV0::globals
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedModuleV0where
Box<[Instruction]>: Archive,
BTreeMap<Label, usize>: Archive,
NamedMap<ActionDef>: Archive,
NamedMap<CommandDef>: Archive,
BTreeMap<Identifier, FactDefinition>: Archive,
BTreeMap<Identifier, Vec<FieldDefinition>>: Archive,
BTreeMap<Identifier, BTreeMap<Identifier, i64>>: Archive,
Option<CodeMap>: Archive,
BTreeMap<Identifier, Value>: Archive,
<__C as Fallible>::Error: Trace,
<Box<[Instruction]> as Archive>::Archived: CheckBytes<__C>,
<BTreeMap<Label, usize> as Archive>::Archived: CheckBytes<__C>,
<NamedMap<ActionDef> as Archive>::Archived: CheckBytes<__C>,
<NamedMap<CommandDef> as Archive>::Archived: CheckBytes<__C>,
<BTreeMap<Identifier, FactDefinition> as Archive>::Archived: CheckBytes<__C>,
<BTreeMap<Identifier, Vec<FieldDefinition>> as Archive>::Archived: CheckBytes<__C>,
<BTreeMap<Identifier, BTreeMap<Identifier, i64>> as Archive>::Archived: CheckBytes<__C>,
<Option<CodeMap> as Archive>::Archived: CheckBytes<__C>,
<BTreeMap<Identifier, Value> as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedModuleV0where
Box<[Instruction]>: Archive,
BTreeMap<Label, usize>: Archive,
NamedMap<ActionDef>: Archive,
NamedMap<CommandDef>: Archive,
BTreeMap<Identifier, FactDefinition>: Archive,
BTreeMap<Identifier, Vec<FieldDefinition>>: Archive,
BTreeMap<Identifier, BTreeMap<Identifier, i64>>: Archive,
Option<CodeMap>: Archive,
BTreeMap<Identifier, Value>: Archive,
<__C as Fallible>::Error: Trace,
<Box<[Instruction]> as Archive>::Archived: CheckBytes<__C>,
<BTreeMap<Label, usize> as Archive>::Archived: CheckBytes<__C>,
<NamedMap<ActionDef> as Archive>::Archived: CheckBytes<__C>,
<NamedMap<CommandDef> as Archive>::Archived: CheckBytes<__C>,
<BTreeMap<Identifier, FactDefinition> as Archive>::Archived: CheckBytes<__C>,
<BTreeMap<Identifier, Vec<FieldDefinition>> as Archive>::Archived: CheckBytes<__C>,
<BTreeMap<Identifier, BTreeMap<Identifier, i64>> as Archive>::Archived: CheckBytes<__C>,
<Option<CodeMap> as Archive>::Archived: CheckBytes<__C>,
<BTreeMap<Identifier, Value> as Archive>::Archived: CheckBytes<__C>,
impl Portable for ArchivedModuleV0where
Box<[Instruction]>: Archive,
BTreeMap<Label, usize>: Archive,
NamedMap<ActionDef>: Archive,
NamedMap<CommandDef>: Archive,
BTreeMap<Identifier, FactDefinition>: Archive,
BTreeMap<Identifier, Vec<FieldDefinition>>: Archive,
BTreeMap<Identifier, BTreeMap<Identifier, i64>>: Archive,
Option<CodeMap>: Archive,
BTreeMap<Identifier, Value>: Archive,
<Box<[Instruction]> as Archive>::Archived: Portable,
<BTreeMap<Label, usize> as Archive>::Archived: Portable,
<NamedMap<ActionDef> as Archive>::Archived: Portable,
<NamedMap<CommandDef> as Archive>::Archived: Portable,
<BTreeMap<Identifier, FactDefinition> as Archive>::Archived: Portable,
<BTreeMap<Identifier, Vec<FieldDefinition>> as Archive>::Archived: Portable,
<BTreeMap<Identifier, BTreeMap<Identifier, i64>> as Archive>::Archived: Portable,
<Option<CodeMap> as Archive>::Archived: Portable,
<BTreeMap<Identifier, Value> as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedModuleV0
impl RefUnwindSafe for ArchivedModuleV0
impl Send for ArchivedModuleV0
impl Sync for ArchivedModuleV0
impl !Unpin for ArchivedModuleV0
impl !UnsafeUnpin for ArchivedModuleV0
impl UnwindSafe for ArchivedModuleV0
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<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>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.