pub struct Axis {
pub name_abbrev: String,
pub direction: String,
pub meridian: Option<Meridian>,
pub bearing: Option<f64>,
pub order: Option<u32>,
pub unit: Option<Unit>,
pub axis_min_value: Option<f64>,
pub axis_max_value: Option<f64>,
pub range_meaning: Option<RangeMeaning>,
pub identifiers: Vec<Identifier>,
}Expand description
A single axis of a coordinate system.
WKT2 keyword: AXIS.
Fields§
§name_abbrev: StringThe axis name and/or abbreviation (e.g. “easting (E)”).
direction: StringThe axis direction (e.g. “north”, “east”, “up”, “clockwise”).
meridian: Option<Meridian>The meridian from which the axis direction is measured. Only used with certain directions like “north” or “south”.
bearing: Option<f64>The bearing angle for “clockwise” or “counterClockwise” directions, in degrees.
order: Option<u32>The ordering of this axis within the coordinate system (1-based).
unit: Option<Unit>The unit for values along this axis. If absent, the coordinate system’s shared unit applies.
axis_min_value: Option<f64>The minimum value for this axis.
axis_max_value: Option<f64>The maximum value for this axis.
range_meaning: Option<RangeMeaning>Whether the axis range is exact or wraps around (e.g. longitude 0-360).
identifiers: Vec<Identifier>Identifiers for this axis.
Trait Implementations§
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnsafeUnpin for Axis
impl UnwindSafe for Axis
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