Enum caminos_lib::topology::Location [−][src]
pub enum Location {
RouterPort {
router_index: usize,
router_port: usize,
},
ServerPort(usize),
None,
}
Expand description
A location where a phit can be inserted.
None is used for disconnected ports, for example in the Mesh
topology.
Variants
ServerPort(usize)
Tuple Fields of ServerPort
0: usize
Trait Implementations
Get the total memory currently being employed by the implementing type. Both stack and heap.
Prints by stdout how much memory is used per component.
Get an estimation on how much memory the type could reach during the simulation.
Auto Trait Implementations
impl RefUnwindSafe for Location
impl UnwindSafe for Location
Blanket Implementations
Mutably borrows from an owned value. Read more