pub struct IntersectionBook<'a> { /* private fields */ }
Expand description
A book of Intersections.
Implementations§
Source§impl<'a> IntersectionBook<'a>
impl<'a> IntersectionBook<'a>
Sourcepub fn get_intersections(&mut self) -> Vec<Intersection<'_>>
pub fn get_intersections(&mut self) -> Vec<Intersection<'_>>
Gets a list of all Intersections within this book.
Sourcepub fn get_intersection(&mut self, id: &str) -> Option<Intersection<'_>>
pub fn get_intersection(&mut self, id: &str) -> Option<Intersection<'_>>
Auto Trait Implementations§
impl<'a> Freeze for IntersectionBook<'a>
impl<'a> RefUnwindSafe for IntersectionBook<'a>
impl<'a> !Send for IntersectionBook<'a>
impl<'a> !Sync for IntersectionBook<'a>
impl<'a> Unpin for IntersectionBook<'a>
impl<'a> !UnwindSafe for IntersectionBook<'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