pub struct SimplePackingParams {
pub encoded_values: usize,
pub reference_value: f32,
pub binary_scale: i16,
pub decimal_scale: i16,
pub bits_per_value: u8,
pub original_field_type: u8,
}Expand description
Parameters for simple packing (Template 5.0).
Fields§
§encoded_values: usize§reference_value: f32§binary_scale: i16§decimal_scale: i16§bits_per_value: u8§original_field_type: u8Trait Implementations§
Source§impl Clone for SimplePackingParams
impl Clone for SimplePackingParams
Source§fn clone(&self) -> SimplePackingParams
fn clone(&self) -> SimplePackingParams
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 moreSource§impl Debug for SimplePackingParams
impl Debug for SimplePackingParams
Source§impl PartialEq for SimplePackingParams
impl PartialEq for SimplePackingParams
impl StructuralPartialEq for SimplePackingParams
Auto Trait Implementations§
impl Freeze for SimplePackingParams
impl RefUnwindSafe for SimplePackingParams
impl Send for SimplePackingParams
impl Sync for SimplePackingParams
impl Unpin for SimplePackingParams
impl UnsafeUnpin for SimplePackingParams
impl UnwindSafe for SimplePackingParams
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§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