pub struct FleetTiling {
pub source_dim: usize,
pub tiles: Vec<TileCoord>,
pub assignments: Vec<AgentTile>,
pub thick_count: usize,
pub thin_count: usize,
pub thick_thin_ratio: f64,
}Expand description
Complete fleet tiling result.
Fields§
§source_dim: usizeSource dimension of the embedding space.
tiles: Vec<TileCoord>All compiled tiles.
assignments: Vec<AgentTile>Agent-to-tile assignments.
thick_count: usizeNumber of thick tiles.
thin_count: usizeNumber of thin tiles.
thick_thin_ratio: f64Thick:thin ratio.
Trait Implementations§
Source§impl Clone for FleetTiling
impl Clone for FleetTiling
Source§fn clone(&self) -> FleetTiling
fn clone(&self) -> FleetTiling
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FleetTiling
impl RefUnwindSafe for FleetTiling
impl Send for FleetTiling
impl Sync for FleetTiling
impl Unpin for FleetTiling
impl UnsafeUnpin for FleetTiling
impl UnwindSafe for FleetTiling
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