pub struct GpsTime {
pub value: i64,
}
Expand description
Struct to store GpsTime
As the value (f64 as per LAS spec) needs to be reinterpreted (not simply converted with ‘as’) to i64 (or u64) during compression / decompression this struct provides a convenient wrapper
Fields§
§value: i64
Trait Implementations§
source§impl AddAssign<f64> for GpsTime
impl AddAssign<f64> for GpsTime
source§fn add_assign(&mut self, rhs: f64)
fn add_assign(&mut self, rhs: f64)
Performs the
+=
operation. Read moresource§impl AddAssign<i64> for GpsTime
impl AddAssign<i64> for GpsTime
source§fn add_assign(&mut self, rhs: i64)
fn add_assign(&mut self, rhs: i64)
Performs the
+=
operation. Read moresource§impl LasGpsTime for GpsTime
impl LasGpsTime for GpsTime
source§impl PartialEq for GpsTime
impl PartialEq for GpsTime
impl Copy for GpsTime
impl StructuralPartialEq for GpsTime
Auto Trait Implementations§
impl Freeze for GpsTime
impl RefUnwindSafe for GpsTime
impl Send for GpsTime
impl Sync for GpsTime
impl Unpin for GpsTime
impl UnwindSafe for GpsTime
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬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 more