pub struct LocationCatalog { /* private fields */ }Expand description
Boundary catalog retaining user-facing labels outside computation-heavy data.
Implementations§
Source§impl LocationCatalog
impl LocationCatalog
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn label(&self, location_id: LocationId) -> &str
pub fn find_label(&self, label: &str) -> Option<LocationId>
Trait Implementations§
Source§impl Clone for LocationCatalog
impl Clone for LocationCatalog
Source§impl Debug for LocationCatalog
impl Debug for LocationCatalog
Source§impl Default for LocationCatalog
impl Default for LocationCatalog
Source§impl PartialEq for LocationCatalog
impl PartialEq for LocationCatalog
impl StructuralPartialEq for LocationCatalog
Auto Trait Implementations§
impl Freeze for LocationCatalog
impl RefUnwindSafe for LocationCatalog
impl Send for LocationCatalog
impl Sync for LocationCatalog
impl Unpin for LocationCatalog
impl UnsafeUnpin for LocationCatalog
impl UnwindSafe for LocationCatalog
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