pub struct RouteTable { /* private fields */ }Expand description
Every output’s route slot, keyed by output id.
Implementations§
Source§impl RouteTable
impl RouteTable
Sourcepub fn slot(&self, output: &DataId) -> Arc<RouteSlot> ⓘ
pub fn slot(&self, output: &DataId) -> Arc<RouteSlot> ⓘ
The slot for output, creating it if this is the first look.
Sourcepub fn existing(&self, output: &DataId) -> Option<Arc<RouteSlot>>
pub fn existing(&self, output: &DataId) -> Option<Arc<RouteSlot>>
The slot for output, if one exists.
Sourcepub fn planes(&self) -> Vec<(DataId, RoutePlane)>
pub fn planes(&self) -> Vec<(DataId, RoutePlane)>
The plane every known output is publishing on.
Sourcepub fn upgraded_count(&self) -> usize
pub fn upgraded_count(&self) -> usize
How many outputs are on the zero-copy plane.
Trait Implementations§
Source§impl Debug for RouteTable
impl Debug for RouteTable
Auto Trait Implementations§
impl !Freeze for RouteTable
impl RefUnwindSafe for RouteTable
impl Send for RouteTable
impl Sync for RouteTable
impl Unpin for RouteTable
impl UnsafeUnpin for RouteTable
impl UnwindSafe for RouteTable
Blanket Implementations§
impl<T> Allocation for T
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