pub enum FidelityAnnotation {
AllowLoss(Vec<LossCategory>),
RequireLossless,
}Expand description
Transformation fidelity annotation
Variants§
AllowLoss(Vec<LossCategory>)
Allow loss of specified categories
RequireLossless
Require lossless transformation
Implementations§
Trait Implementations§
Source§impl Clone for FidelityAnnotation
impl Clone for FidelityAnnotation
Source§fn clone(&self) -> FidelityAnnotation
fn clone(&self) -> FidelityAnnotation
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 FidelityAnnotation
impl Debug for FidelityAnnotation
Source§impl PartialEq for FidelityAnnotation
impl PartialEq for FidelityAnnotation
impl Eq for FidelityAnnotation
impl StructuralPartialEq for FidelityAnnotation
Auto Trait Implementations§
impl Freeze for FidelityAnnotation
impl RefUnwindSafe for FidelityAnnotation
impl Send for FidelityAnnotation
impl Sync for FidelityAnnotation
impl Unpin for FidelityAnnotation
impl UnwindSafe for FidelityAnnotation
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