pub struct CompoundCrs {
pub name: String,
pub components: Vec<SingleCrs>,
pub usages: Vec<Usage>,
pub identifiers: Vec<Identifier>,
pub remark: Option<String>,
}Expand description
A compound coordinate reference system (COMPOUNDCRS).
A compound CRS is a non-repeating sequence of two or more independent CRSs.
WKT2 keyword: COMPOUNDCRS.
Fields§
§name: StringThe name of the compound CRS (e.g. “NAD83 + NAVD88”).
components: Vec<SingleCrs>The constituent single CRSs (at least two).
usages: Vec<Usage>Zero or more scope-extent pairings describing the applicability of this CRS.
identifiers: Vec<Identifier>Zero or more external identifiers referencing this CRS.
remark: Option<String>An optional free-text remark about this CRS.
Implementations§
Source§impl CompoundCrs
impl CompoundCrs
Source§impl CompoundCrs
impl CompoundCrs
Sourcepub fn to_projjson(&self) -> Value
pub fn to_projjson(&self) -> Value
Serialize this compound CRS to a PROJJSON serde_json::Value.
Trait Implementations§
Source§impl Clone for CompoundCrs
impl Clone for CompoundCrs
Source§fn clone(&self) -> CompoundCrs
fn clone(&self) -> CompoundCrs
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 CompoundCrs
impl Debug for CompoundCrs
Source§impl Display for CompoundCrs
impl Display for CompoundCrs
Source§impl PartialEq for CompoundCrs
impl PartialEq for CompoundCrs
impl StructuralPartialEq for CompoundCrs
Auto Trait Implementations§
impl Freeze for CompoundCrs
impl RefUnwindSafe for CompoundCrs
impl Send for CompoundCrs
impl Sync for CompoundCrs
impl Unpin for CompoundCrs
impl UnsafeUnpin for CompoundCrs
impl UnwindSafe for CompoundCrs
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