pub enum CrsType {
Local,
Epsg(u16),
Proj4(String),
GaussKrueger(u8),
Utm(i8),
}Expand description
The coordinate reference system type.
Variants§
Local
Local (non-georeferenced) coordinates.
Epsg(u16)
An EPSG-registered CRS identified by code.
Proj4(String)
A custom CRS given as a PROJ.4 string.
GaussKrueger(u8)
Gauss-Krüger zone (datum: Potsdam).
Utm(i8)
UTM zone (negative for southern hemisphere).
Implementations§
Trait Implementations§
impl Eq for CrsType
impl StructuralPartialEq for CrsType
Auto Trait Implementations§
impl Freeze for CrsType
impl RefUnwindSafe for CrsType
impl Send for CrsType
impl Sync for CrsType
impl Unpin for CrsType
impl UnsafeUnpin for CrsType
impl UnwindSafe for CrsType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more