pub enum RecordDataType {
Single {
min: Option<f32>,
max: Option<f32>,
},
Double {
min: Option<f64>,
max: Option<f64>,
},
ScaledInteger {
min: i64,
max: i64,
scale: f64,
offset: f64,
},
Integer {
min: i64,
max: i64,
},
}Expand description
Basic primitive E57 data types that are used for the different point attributes.
Variants§
Single
32-bit IEEE 754-2008 floating point value.
Double
64-bit IEEE 754-2008 floating point value.
ScaledInteger
Signed 64-bit integer scaled with a fixed 64-bit floating point value.
Integer
Signed 64-bit integer value.
Implementations§
Source§impl RecordDataType
impl RecordDataType
pub const F32: RecordDataType
pub const UNIT_F32: RecordDataType
pub const F64: RecordDataType
pub const U8: RecordDataType
pub const U16: RecordDataType
Trait Implementations§
Source§impl Clone for RecordDataType
impl Clone for RecordDataType
Source§fn clone(&self) -> RecordDataType
fn clone(&self) -> RecordDataType
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 moreAuto Trait Implementations§
impl Freeze for RecordDataType
impl RefUnwindSafe for RecordDataType
impl Send for RecordDataType
impl Sync for RecordDataType
impl Unpin for RecordDataType
impl UnwindSafe for RecordDataType
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