pub struct PrimeMeridian {
pub name: String,
pub irm_longitude: f64,
pub unit: Option<Unit>,
pub identifiers: Vec<Identifier>,
}Expand description
The prime meridian defining zero longitude.
WKT2 keywords: PRIMEM (preferred), PRIMEMERIDIAN.
Fields§
§name: StringThe name of the prime meridian (e.g. “Greenwich”, “Paris”).
irm_longitude: f64The longitude of this meridian measured from the international reference meridian, positive eastward.
unit: Option<Unit>The angle unit for the longitude value. If absent, the value is in the CRS’s angular unit (if available), otherwise in decimal degrees.
identifiers: Vec<Identifier>Identifiers for this prime meridian.
Trait Implementations§
Source§impl Clone for PrimeMeridian
impl Clone for PrimeMeridian
Source§fn clone(&self) -> PrimeMeridian
fn clone(&self) -> PrimeMeridian
Returns a duplicate of the value. Read more
1.0.0 · 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 PrimeMeridian
impl Debug for PrimeMeridian
Source§impl Display for PrimeMeridian
impl Display for PrimeMeridian
Source§impl PartialEq for PrimeMeridian
impl PartialEq for PrimeMeridian
impl StructuralPartialEq for PrimeMeridian
Auto Trait Implementations§
impl Freeze for PrimeMeridian
impl RefUnwindSafe for PrimeMeridian
impl Send for PrimeMeridian
impl Sync for PrimeMeridian
impl Unpin for PrimeMeridian
impl UnsafeUnpin for PrimeMeridian
impl UnwindSafe for PrimeMeridian
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