pub struct FleetCoordinate { /* private fields */ }Expand description
The unified fleet coordinate engine
Implementations§
Source§impl FleetCoordinate
impl FleetCoordinate
pub fn new(config: Config) -> Self
pub fn add_agent( &mut self, id: u64, position: [f64; 2], capabilities: Vec<String>, )
pub fn add_trust_edge(&mut self, a: u64, b: u64)
pub fn analyze(&self) -> FleetAnalysisReport
pub fn trust_encoder(&self) -> &TrustTopology
pub fn beam_solver(&self) -> &BeamSolver
pub fn add_tile(&mut self, room: String, tile: FleetTile)
pub fn agent_count(&self) -> usize
pub fn edge_count(&self) -> usize
Trait Implementations§
Source§impl Clone for FleetCoordinate
impl Clone for FleetCoordinate
Source§fn clone(&self) -> FleetCoordinate
fn clone(&self) -> FleetCoordinate
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 FleetCoordinate
impl RefUnwindSafe for FleetCoordinate
impl Send for FleetCoordinate
impl Sync for FleetCoordinate
impl Unpin for FleetCoordinate
impl UnsafeUnpin for FleetCoordinate
impl UnwindSafe for FleetCoordinate
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