#[non_exhaustive]pub enum EncodingMethod {
SimplePacking(SimplePackingStrategy),
ComplexPacking(SimplePackingStrategy, ComplexPackingStrategy, SpatialDifferencingOption),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SimplePacking(SimplePackingStrategy)
Simple packing.
ComplexPacking(SimplePackingStrategy, ComplexPackingStrategy, SpatialDifferencingOption)
Complex packing.
Trait Implementations§
Source§impl Clone for EncodingMethod
impl Clone for EncodingMethod
Source§fn clone(&self) -> EncodingMethod
fn clone(&self) -> EncodingMethod
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 moreSource§impl Debug for EncodingMethod
impl Debug for EncodingMethod
impl Eq for EncodingMethod
Source§impl PartialEq for EncodingMethod
impl PartialEq for EncodingMethod
impl StructuralPartialEq for EncodingMethod
Auto Trait Implementations§
impl Freeze for EncodingMethod
impl RefUnwindSafe for EncodingMethod
impl Send for EncodingMethod
impl Sync for EncodingMethod
impl Unpin for EncodingMethod
impl UnsafeUnpin for EncodingMethod
impl UnwindSafe for EncodingMethod
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