#[non_exhaustive]pub enum NorthSouth {
North,
South,
}Expand description
Latitude hemisphere.
#[non_exhaustive]; match with a wildcard arm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for NorthSouth
impl Clone for NorthSouth
impl Copy for NorthSouth
Source§impl Debug for NorthSouth
impl Debug for NorthSouth
impl Eq for NorthSouth
Source§impl Hash for NorthSouth
impl Hash for NorthSouth
Source§impl PartialEq for NorthSouth
impl PartialEq for NorthSouth
impl StructuralPartialEq for NorthSouth
Auto Trait Implementations§
impl Freeze for NorthSouth
impl RefUnwindSafe for NorthSouth
impl Send for NorthSouth
impl Sync for NorthSouth
impl Unpin for NorthSouth
impl UnsafeUnpin for NorthSouth
impl UnwindSafe for NorthSouth
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