pub struct AgentTile {
pub agent_index: usize,
pub tile: TileCoord,
pub assignment_distance: f64,
}Expand description
An agent’s position in the fleet tiling.
Fields§
§agent_index: usizeAgent index in the input embedding array.
tile: TileCoordAssigned tile coordinates.
assignment_distance: f64Distance from the agent’s embedded position to the tile centre.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentTile
impl RefUnwindSafe for AgentTile
impl Send for AgentTile
impl Sync for AgentTile
impl Unpin for AgentTile
impl UnsafeUnpin for AgentTile
impl UnwindSafe for AgentTile
Blanket Implementations§
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