pub struct Plan { /* private fields */ }Expand description
A selector bound to the dense routing domain it selects from.
Implementations§
Source§impl Plan
impl Plan
pub const fn new(count: Count, selector: Selector) -> Self
pub const fn with_prefix(self, prefix: PrefixPlan) -> Self
pub const fn with_bootstrap(self, bootstrap: Bootstrap) -> Self
pub const fn count(self) -> Count
pub const fn selector(self) -> Selector
pub const fn prefix(self) -> Option<PrefixPlan>
pub const fn bootstrap(self) -> Option<Bootstrap>
Trait Implementations§
impl Copy for Plan
impl Eq for Plan
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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