Enum las::GpsTimeType[][src]

pub enum GpsTimeType {
    Week,
    Standard,
}

The meaning of GPS time in the point records.

Variants

Week

GPS Week Time (the same as previous versions of LAS).

Standard

Standard GPS Time minus 1e9.

Implementations

impl GpsTimeType[src]

pub fn is_standard(&self) -> bool[src]

Returns true if this time type is gps standard time.

Examples

use las::GpsTimeType;
assert!(!GpsTimeType::Week.is_standard());
assert!(GpsTimeType::Standard.is_standard());

Trait Implementations

impl Clone for GpsTimeType[src]

impl Copy for GpsTimeType[src]

impl Debug for GpsTimeType[src]

impl Default for GpsTimeType[src]

impl From<u16> for GpsTimeType[src]

impl PartialEq<GpsTimeType> for GpsTimeType[src]

impl StructuralPartialEq for GpsTimeType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.