pub struct CoordinateReferenceSystem { /* private fields */ }Implementations§
Source§impl CoordinateReferenceSystem
impl CoordinateReferenceSystem
pub const fn new(identifier: SpatialReferenceId) -> Self
pub fn from_epsg(code: EpsgCode) -> Self
pub fn from_system(system: SpatialReferenceSystem) -> Self
pub const fn identifier(&self) -> &SpatialReferenceId
Trait Implementations§
Source§impl Clone for CoordinateReferenceSystem
impl Clone for CoordinateReferenceSystem
Source§fn clone(&self) -> CoordinateReferenceSystem
fn clone(&self) -> CoordinateReferenceSystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoordinateReferenceSystem
impl Debug for CoordinateReferenceSystem
Source§impl Display for CoordinateReferenceSystem
impl Display for CoordinateReferenceSystem
Source§impl Hash for CoordinateReferenceSystem
impl Hash for CoordinateReferenceSystem
Source§impl Ord for CoordinateReferenceSystem
impl Ord for CoordinateReferenceSystem
Source§fn cmp(&self, other: &CoordinateReferenceSystem) -> Ordering
fn cmp(&self, other: &CoordinateReferenceSystem) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CoordinateReferenceSystem
impl PartialEq for CoordinateReferenceSystem
Source§fn eq(&self, other: &CoordinateReferenceSystem) -> bool
fn eq(&self, other: &CoordinateReferenceSystem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CoordinateReferenceSystem
impl PartialOrd for CoordinateReferenceSystem
impl Eq for CoordinateReferenceSystem
impl StructuralPartialEq for CoordinateReferenceSystem
Auto Trait Implementations§
impl Freeze for CoordinateReferenceSystem
impl RefUnwindSafe for CoordinateReferenceSystem
impl Send for CoordinateReferenceSystem
impl Sync for CoordinateReferenceSystem
impl Unpin for CoordinateReferenceSystem
impl UnsafeUnpin for CoordinateReferenceSystem
impl UnwindSafe for CoordinateReferenceSystem
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