pub struct Program {Show 15 fields
pub name: String,
pub mech: Core,
pub cores: HashMap<u64, Core>,
pub remote_cores: HashMap<u64, MechSocket>,
pub input_map: HashMap<(TableId, RegisterIndex, RegisterIndex), HashSet<u64>>,
pub libraries: HashMap<String, Option<Library>>,
pub machines: HashMap<u64, Box<dyn Machine>>,
pub mech_functions: HashMap<u64, Box<dyn MechFunctionCompiler>>,
pub machine_repository: HashMap<String, (String, String)>,
pub incoming: Receiver<RunLoopMessage>,
pub outgoing: Sender<RunLoopMessage>,
pub errors: HashSet<MechErrorKind>,
pub listeners: HashMap<(TableId, RegisterIndex, RegisterIndex), HashSet<u64>>,
pub trigger_to_listener: HashMap<(TableId, RegisterIndex, RegisterIndex), ((TableId, RegisterIndex, RegisterIndex), HashSet<u64>)>,
pub registry: String,
/* private fields */
}
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer.
Read more
Mutably dereferences the given pointer.
Read more
Drops the object pointed to by the given pointer.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Get the TypeId
of this object.