pub struct Mgrs { /* private fields */ }Expand description
An MGRS cell, only constructible through the validated paths
LatLon::to_mgrs, UtmUps::to_mgrs, and str::parse, so Display
is total.
A cell is discrete: Eq and Hash allow deduplication, and the string form
through Display and FromStr is the serialization.
Implementations§
Trait Implementations§
impl Eq for Mgrs
Source§impl FromStr for Mgrs
impl FromStr for Mgrs
impl StructuralPartialEq for Mgrs
Auto Trait Implementations§
impl Freeze for Mgrs
impl RefUnwindSafe for Mgrs
impl Send for Mgrs
impl Sync for Mgrs
impl Unpin for Mgrs
impl UnsafeUnpin for Mgrs
impl UnwindSafe for Mgrs
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