pub struct VerticalExtent {
pub minimum: f64,
pub maximum: f64,
pub unit: Unit,
}Expand description
§VerticalExtent
§Description
Vertical extent is an optional attribute which describes a height range over which a CRS or coordinate operation is applicable. Depths have negative height values. Vertical extent is an approximate description of location; heights are relative to an unspecified mean sea level.
§Requirement
If vertical extent units are not stated they shall be assumed to be metres.
§Examples
VERTICALEXTENT[-1000,0,LENGTHUNIT["metre",1.0]]VERTICALEXTENT[-1000,0](where the heights are implicitly in metres).
Fields§
§minimum: f64Minimum height
maximum: f64Maximum height
unit: UnitUnit of measurement
Trait Implementations§
Source§impl Clone for VerticalExtent
impl Clone for VerticalExtent
Source§fn clone(&self) -> VerticalExtent
fn clone(&self) -> VerticalExtent
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VerticalExtent
impl Debug for VerticalExtent
Source§impl Default for VerticalExtent
impl Default for VerticalExtent
Source§fn default() -> VerticalExtent
fn default() -> VerticalExtent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerticalExtentwhere
VerticalExtent: Default,
impl<'de> Deserialize<'de> for VerticalExtentwhere
VerticalExtent: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VerticalExtent
impl PartialEq for VerticalExtent
Source§impl Serialize for VerticalExtent
impl Serialize for VerticalExtent
impl StructuralPartialEq for VerticalExtent
Auto Trait Implementations§
impl Freeze for VerticalExtent
impl RefUnwindSafe for VerticalExtent
impl Send for VerticalExtent
impl Sync for VerticalExtent
impl Unpin for VerticalExtent
impl UnwindSafe for VerticalExtent
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().