pub struct RoutingInventory { /* private fields */ }Expand description
Descriptor-backed inventory. Entity IDs are never matched across AC interfaces.
Implementations§
Source§impl RoutingInventory
impl RoutingInventory
pub fn insert(&mut self, unit: RoutingUnit) -> Result<(), InvalidRoute>
pub fn units(&self) -> impl Iterator<Item = &RoutingUnit>
pub fn control(&self, key: ControlKey) -> Result<RouteControl, InvalidRoute>
Trait Implementations§
Source§impl Clone for RoutingInventory
impl Clone for RoutingInventory
Source§impl Debug for RoutingInventory
impl Debug for RoutingInventory
Source§impl Default for RoutingInventory
impl Default for RoutingInventory
impl Eq for RoutingInventory
Source§impl PartialEq for RoutingInventory
impl PartialEq for RoutingInventory
impl StructuralPartialEq for RoutingInventory
Auto Trait Implementations§
impl Forget for RoutingInventory
impl Freeze for RoutingInventorywhere
*const LeafNode<Entity, RoutingUnit> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(Entity, RoutingUnit)>>: Freeze,
impl Move for RoutingInventory
impl RefUnwindSafe for RoutingInventory
impl Send for RoutingInventorywhere
NodeRef<Owned, Entity, RoutingUnit, LeafOrInternal>: Send,
BoxRaw<(Entity, RoutingUnit)>: Send,
impl Sync for RoutingInventorywhere
NodeRef<Owned, Entity, RoutingUnit, LeafOrInternal>: Sync,
BoxRaw<(Entity, RoutingUnit)>: Sync,
impl Unpin for RoutingInventory
impl UnsafeUnpin for RoutingInventorywhere
*const LeafNode<Entity, RoutingUnit> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(Entity, RoutingUnit)>>: UnsafeUnpin,
impl UnwindSafe for RoutingInventory
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