pub enum PackingStrategy {
SimpleAuto {
decimal_scale: i16,
},
ComplexAuto {
decimal_scale: i16,
spatial_differencing: Option<SpatialDifferencingOrder>,
},
Jpeg2000Auto {
decimal_scale: i16,
},
PngAuto {
decimal_scale: i16,
},
}Expand description
Field packing strategy.
Variants§
SimpleAuto
Simple packing with binary scale 0 and automatic bit-width selection.
ComplexAuto
GRIB2 complex packing with fixed-size general groups.
Jpeg2000Auto
GRIB2 JPEG 2000 code stream packing template 5.40.
PngAuto
GRIB2 PNG image packing template 5.41.
Trait Implementations§
Source§impl Clone for PackingStrategy
impl Clone for PackingStrategy
Source§fn clone(&self) -> PackingStrategy
fn clone(&self) -> PackingStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PackingStrategy
Source§impl Debug for PackingStrategy
impl Debug for PackingStrategy
impl Eq for PackingStrategy
Source§impl PartialEq for PackingStrategy
impl PartialEq for PackingStrategy
Source§fn eq(&self, other: &PackingStrategy) -> bool
fn eq(&self, other: &PackingStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PackingStrategy
Auto Trait Implementations§
impl Freeze for PackingStrategy
impl RefUnwindSafe for PackingStrategy
impl Send for PackingStrategy
impl Sync for PackingStrategy
impl Unpin for PackingStrategy
impl UnsafeUnpin for PackingStrategy
impl UnwindSafe for PackingStrategy
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