pub struct Opening<'a> {
pub(crate) router: &'a mut RouterNG,
}Expand description
A closed lattice being added to. Mirrors RouterNGBuilder’s vocabulary,
because what it records are the same requests.
Fields§
§router: &'a mut RouterNGImplementations§
Source§impl Opening<'_>
impl Opening<'_>
Sourcepub fn add_seed_point(&mut self, p: impl Into<Point>)
pub fn add_seed_point(&mut self, p: impl Into<Point>)
Register a point at which a full (H+V) channel is seeded — a route endpoint or waypoint.
pub fn add_h_channel(&mut self, seed: impl Into<Point>, cost: impl Into<Cost>)
pub fn add_v_channel(&mut self, seed: impl Into<Point>, cost: impl Into<Cost>)
Auto Trait Implementations§
impl<'a> Freeze for Opening<'a>
impl<'a> RefUnwindSafe for Opening<'a>
impl<'a> Send for Opening<'a>
impl<'a> Sync for Opening<'a>
impl<'a> Unpin for Opening<'a>
impl<'a> UnsafeUnpin for Opening<'a>
impl<'a> !UnwindSafe for Opening<'a>
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