#[repr(C)]pub enum GaussianPreciseLevel {
EXACT = 0,
INTEGRAL = 1,
}Expand description
Declares requested precision level, this is supported only for u8
Variants§
EXACT = 0
Exact precision, f32 accumulator and weights will be used
INTEGRAL = 1
Convolution in integral approximation, this is faster than exact convolution but may change result. Estimated error not less than 1-2%
Trait Implementations§
Source§impl Clone for GaussianPreciseLevel
impl Clone for GaussianPreciseLevel
Source§fn clone(&self) -> GaussianPreciseLevel
fn clone(&self) -> GaussianPreciseLevel
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 Default for GaussianPreciseLevel
impl Default for GaussianPreciseLevel
Source§fn default() -> GaussianPreciseLevel
fn default() -> GaussianPreciseLevel
Returns the “default value” for a type. Read more
Source§impl Ord for GaussianPreciseLevel
impl Ord for GaussianPreciseLevel
Source§fn cmp(&self, other: &GaussianPreciseLevel) -> Ordering
fn cmp(&self, other: &GaussianPreciseLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GaussianPreciseLevel
impl PartialEq for GaussianPreciseLevel
Source§impl PartialOrd for GaussianPreciseLevel
impl PartialOrd for GaussianPreciseLevel
impl Copy for GaussianPreciseLevel
impl Eq for GaussianPreciseLevel
impl StructuralPartialEq for GaussianPreciseLevel
Auto Trait Implementations§
impl Freeze for GaussianPreciseLevel
impl RefUnwindSafe for GaussianPreciseLevel
impl Send for GaussianPreciseLevel
impl Sync for GaussianPreciseLevel
impl Unpin for GaussianPreciseLevel
impl UnwindSafe for GaussianPreciseLevel
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