Enum e57::RecordDataType
source · 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 copy 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
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)