pub struct CoordinateSystem {
pub cs_type: CsType,
pub dimension: u8,
pub identifiers: Vec<Identifier>,
pub axes: Vec<Axis>,
pub cs_unit: Option<Unit>,
}Expand description
A coordinate system definition, consisting of a type, dimension, axes, and an optional shared unit.
WKT2 keyword: CS.
Fields§
§cs_type: CsTypeThe type of coordinate system (e.g. Cartesian, ellipsoidal).
dimension: u8The number of dimensions (1, 2, or 3).
identifiers: Vec<Identifier>Identifiers for the coordinate system itself.
axes: Vec<Axis>The axes of the coordinate system. These appear as siblings after the CS[...] node.
cs_unit: Option<Unit>An optional unit shared by all axes. If absent, each axis specifies its own unit.
Trait Implementations§
Source§impl Clone for CoordinateSystem
impl Clone for CoordinateSystem
Source§fn clone(&self) -> CoordinateSystem
fn clone(&self) -> CoordinateSystem
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 CoordinateSystem
impl Debug for CoordinateSystem
Source§impl Display for CoordinateSystem
impl Display for CoordinateSystem
Source§impl PartialEq for CoordinateSystem
impl PartialEq for CoordinateSystem
impl StructuralPartialEq for CoordinateSystem
Auto Trait Implementations§
impl Freeze for CoordinateSystem
impl RefUnwindSafe for CoordinateSystem
impl Send for CoordinateSystem
impl Sync for CoordinateSystem
impl Unpin for CoordinateSystem
impl UnsafeUnpin for CoordinateSystem
impl UnwindSafe for CoordinateSystem
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