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 */
}

Fields§

§name: String§mech: Core§cores: HashMap<u64, Core>§remote_cores: HashMap<u64, MechSocket>§input_map: HashMap<(TableId, RegisterIndex, RegisterIndex), HashSet<u64>>§libraries: HashMap<String, Option<Library>>§machines: HashMap<u64, Box<dyn Machine>>§mech_functions: HashMap<u64, Box<dyn MechFunctionCompiler>>§machine_repository: HashMap<String, (String, String)>§incoming: Receiver<RunLoopMessage>§outgoing: Sender<RunLoopMessage>§errors: HashSet<MechErrorKind>§listeners: HashMap<(TableId, RegisterIndex, RegisterIndex), HashSet<u64>>§trigger_to_listener: HashMap<(TableId, RegisterIndex, RegisterIndex), ((TableId, RegisterIndex, RegisterIndex), HashSet<u64>)>§registry: String

Implementations§

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. 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
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
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.