pub enum Sz3ErrorBound {
AbsoluteAndRelative {
abs: f64,
rel: f64,
},
AbsoluteOrRelative {
abs: f64,
rel: f64,
},
Absolute {
abs: f64,
},
Relative {
rel: f64,
},
PS2NR {
psnr: f64,
},
L2Norm {
l2: f64,
},
}
Expand description
SZ3 error bound
Variants§
AbsoluteAndRelative
Errors are bounded by both the absolute and relative error, i.e. by whichever bound is stricter
AbsoluteOrRelative
Errors are bounded by either the absolute or relative error, i.e. by whichever bound is weaker
Absolute
Absolute error bound
Relative
Relative error bound
PS2NR
Peak signal to noise ratio error bound
L2Norm
Peak L2 norm error bound
Trait Implementations§
Source§impl Clone for Sz3ErrorBound
impl Clone for Sz3ErrorBound
Source§fn clone(&self) -> Sz3ErrorBound
fn clone(&self) -> Sz3ErrorBound
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 moreSource§impl Debug for Sz3ErrorBound
impl Debug for Sz3ErrorBound
Source§impl<'de> Deserialize<'de> for Sz3ErrorBound
impl<'de> Deserialize<'de> for Sz3ErrorBound
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Sz3ErrorBound
impl JsonSchema for Sz3ErrorBound
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn always_inline_schema() -> bool
fn always_inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref
keyword. Read moreAuto Trait Implementations§
impl Freeze for Sz3ErrorBound
impl RefUnwindSafe for Sz3ErrorBound
impl Send for Sz3ErrorBound
impl Sync for Sz3ErrorBound
impl Unpin for Sz3ErrorBound
impl UnwindSafe for Sz3ErrorBound
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)