pub struct RealizationOrder {
pub slots: Vec<TableSlot>,
}Expand description
Ordered realization priority list: the first attached TableSlot in slots becomes the
node’s primary_slot; nodes with none of them get TableSlot::NONE (plain container).
Fields§
§slots: Vec<TableSlot>Implementations§
Source§impl RealizationOrder
impl RealizationOrder
pub const fn new() -> Self
Sourcepub fn with<T: NvTable>(self) -> Self
pub fn with<T: NvTable>(self) -> Self
Appends table T at the next (lower) realization priority.
Sourcepub fn with_slot(self, slot: TableSlot) -> Self
pub fn with_slot(self, slot: TableSlot) -> Self
Appends an arbitrary TableSlot at the next (lower) realization priority.
pub fn primary_slot(&self, tables: TableSet) -> TableSlot
Trait Implementations§
Source§impl Clone for RealizationOrder
impl Clone for RealizationOrder
Source§impl Debug for RealizationOrder
impl Debug for RealizationOrder
Auto Trait Implementations§
impl Forget for RealizationOrder
impl Freeze for RealizationOrder
impl Move for RealizationOrder
impl RefUnwindSafe for RealizationOrder
impl Send for RealizationOrderwhere
RawVecInner: Send,
impl Sync for RealizationOrderwhere
RawVecInner: Sync,
impl Unpin for RealizationOrder
impl UnsafeUnpin for RealizationOrder
impl UnwindSafe for RealizationOrderwhere
RawVecInner: UnwindSafe,
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