pub struct NonNegativeF32 { /* private fields */ }Expand description
A 32-bit floating-point number representing a NonNegative value.
§Constraints
This type enforces the following constraints:
- Range:
x ≥ 0(non-negative) - Finite: Excludes NaN and ±∞
Non-negative numbers are commonly used for:
- Counting and magnitudes
- Physical measurements
- Financial values
§Examples
Creating a non-negative number:
#![expect(clippy::approx_constant)]
use strict_num_extended::{NonNegativeF32, FloatError};
let pos = NonNegativeF32::new(42.0)?;
assert_eq!(pos.get(), 42.0);Invalid value (negative):
use strict_num_extended::NonNegativeF32;
let invalid = NonNegativeF32::new(-1.0);
assert!(invalid.is_err());Implementations§
Source§impl NonNegativeF32
impl NonNegativeF32
Sourcepub fn new(value: f32) -> Result<Self, FloatError>
pub fn new(value: f32) -> Result<Self, FloatError>
Creates a new NonNegativeF32 value.
The value must satisfy the constraint: non-negative.
§Examples
Valid value:
#![expect(clippy::approx_constant)]
use strict_num_extended::{NonNegativeF32, FloatError};
let value = NonNegativeF32::new(42.0)?;
assert_eq!(value.get(), 42.0);Invalid value (negative value):
use strict_num_extended::NonNegativeF32;
let invalid = NonNegativeF32::new(-1.0);
assert!(invalid.is_err());§Errors
Returns Err(FloatError) if the value does not satisfy the constraint.
Sourcepub const unsafe fn new_unchecked(value: f32) -> Self
pub const unsafe fn new_unchecked(value: f32) -> Self
Unsafely creates a finite floating-point number (no validation)
§Safety
Caller must ensure the value satisfies the constraint. Violating the constraint leads to undefined behavior.
Sourcepub const fn get(&self) -> f32
pub const fn get(&self) -> f32
Gets the inner value
§Example
use strict_num_extended::FinF32;
let finite = FinF32::new(2.5);
assert_eq!(finite.unwrap().get(), 2.5);Source§impl NonNegativeF32
impl NonNegativeF32
Sourcepub fn abs(self) -> NonNegativeF32
pub fn abs(self) -> NonNegativeF32
Computes the absolute value.
The return type is automatically inferred based on the source constraint:
NonNegative/NonPositive→NonNegativeNonZero→PositiveNormalized→Normalized(reflexive)Symmetric→NormalizedFin→NonNegative
§Examples
use strict_num_extended::*;
let neg = NegativeF64::new(-5.0).unwrap();
let abs_val: PositiveF64 = neg.abs();
assert_eq!(abs_val.get(), 5.0);Source§impl NonNegativeF32
impl NonNegativeF32
Sourcepub fn signum(self) -> NormalizedF32
pub fn signum(self) -> NormalizedF32
Computes the sign function.
Returns the sign of the number:
1.0if the number is positive0.0if the number is zero-1.0if the number is negative
The return type is automatically inferred based on the source constraint:
Positivetypes →Normalized(signum in {0, 1})Negativetypes →NegativeNormalized(signum in {-1, 0})NonZerotypes →Symmetric(signum in {-1, 1})Fin/Symmetric→Symmetric(signum in {-1, 0, 1})
§Examples
use strict_num_extended::*;
let pos = PositiveF64::new(5.0).unwrap();
let sign: NormalizedF64 = pos.signum();
assert_eq!(sign.get(), 1.0);
let neg = NegativeF64::new(-5.0).unwrap();
let sign: NegativeNormalizedF64 = neg.signum();
assert_eq!(sign.get(), -1.0);Source§impl NonNegativeF32
impl NonNegativeF32
Sourcepub fn sin(self) -> SymmetricF32
Available on crate feature std only.
pub fn sin(self) -> SymmetricF32
std only.Computes the sine of the value.
§Mathematical Properties
For any finite real input x:
- Range: sin(x) ∈ [-1, 1]
- Output Type: Always returns
Symmetric([-1, 1]) - Defined: sin(x) is defined for all finite inputs
§Examples
use strict_num_extended::*;
let angle: FinF64 = FinF64::new(std::f64::consts::PI / 2.0).unwrap();
let sin_val: SymmetricF64 = angle.sin();
assert_eq!(sin_val.get(), 1.0);
let zero: NonNegativeF64 = NonNegativeF64::new_const(0.0);
let sin_zero: SymmetricF64 = zero.sin();
assert_eq!(sin_zero.get(), 0.0);Source§impl NonNegativeF32
impl NonNegativeF32
Sourcepub fn cos(self) -> SymmetricF32
Available on crate feature std only.
pub fn cos(self) -> SymmetricF32
std only.Computes the cosine of the value.
§Mathematical Properties
For any finite real input x:
- Range: cos(x) ∈ [-1, 1]
- Output Type: Always returns
Symmetric([-1, 1]) - Defined: cos(x) is defined for all finite inputs
§Examples
use strict_num_extended::*;
let angle: FinF64 = FinF64::new(0.0).unwrap();
let cos_val: SymmetricF64 = angle.cos();
assert_eq!(cos_val.get(), 1.0);
let pi: FinF64 = FinF64::new(std::f64::consts::PI).unwrap();
let cos_pi: SymmetricF64 = pi.cos();
assert!((cos_pi.get() - (-1.0)).abs() < f64::EPSILON);Source§impl NonNegativeF32
impl NonNegativeF32
Sourcepub fn tan(self) -> Result<FinF32, FloatError>
Available on crate feature std only.
pub fn tan(self) -> Result<FinF32, FloatError>
std only.Computes the tangent of the value.
§Mathematical Properties
For any finite real input x (excluding π/2 + kπ):
- Range: tan(x) ∈ (-∞, +∞)
- Output Type: Always returns
Fin(unbounded) - Singular Points: Undefined at π/2 + kπ (may return infinity)
§Examples
use strict_num_extended::*;
let angle: FinF64 = FinF64::new(0.0).unwrap();
let tan_val: Result<FinF64, FloatError> = angle.tan();
assert_eq!(tan_val.unwrap().get(), 0.0);
let pi_over_4: FinF64 = FinF64::new(std::f64::consts::PI / 4.0).unwrap();
let tan_45: Result<FinF64, FloatError> = pi_over_4.tan();
assert!((tan_45.unwrap().get() - 1.0).abs() < f64::EPSILON);Source§impl NonNegativeF32
impl NonNegativeF32
Sourcepub const fn as_f32_type(self) -> Self
pub const fn as_f32_type(self) -> Self
Creates a clone of the current F32 type instance
This is equivalent to the Clone trait but provides a descriptive name for type conversion context.
Source§impl NonNegativeF32
impl NonNegativeF32
Sourcepub const fn as_f64_type(self) -> NonNegativeF64
pub const fn as_f64_type(self) -> NonNegativeF64
Converts to the corresponding F64 type
Since F64 has a larger range than F32, this conversion is always safe in terms of range and precision.
Trait Implementations§
Source§impl Add<FinF32> for NonNegativeF32
impl Add<FinF32> for NonNegativeF32
Source§impl Add<NegativeF32> for NonNegativeF32
impl Add<NegativeF32> for NonNegativeF32
Source§impl Add<NegativeNormalizedF32> for NonNegativeF32
impl Add<NegativeNormalizedF32> for NonNegativeF32
Source§impl Add<NonNegativeF32> for FinF32
impl Add<NonNegativeF32> for FinF32
Source§impl Add<NonNegativeF32> for NegativeF32
impl Add<NonNegativeF32> for NegativeF32
Source§impl Add<NonNegativeF32> for NegativeNormalizedF32
impl Add<NonNegativeF32> for NegativeNormalizedF32
Source§impl Add<NonNegativeF32> for NonPositiveF32
impl Add<NonNegativeF32> for NonPositiveF32
Source§impl Add<NonNegativeF32> for NonZeroF32
impl Add<NonNegativeF32> for NonZeroF32
Source§impl Add<NonNegativeF32> for NormalizedF32
impl Add<NonNegativeF32> for NormalizedF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§impl Add<NonNegativeF32> for PiBoundedF32
impl Add<NonNegativeF32> for PiBoundedF32
Source§impl Add<NonNegativeF32> for PositiveF32
impl Add<NonNegativeF32> for PositiveF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§impl Add<NonNegativeF32> for Result<FinF32, FloatError>
impl Add<NonNegativeF32> for Result<FinF32, FloatError>
Source§impl Add<NonNegativeF32> for Result<NegativeF32, FloatError>
impl Add<NonNegativeF32> for Result<NegativeF32, FloatError>
Source§impl Add<NonNegativeF32> for Result<NegativeNormalizedF32, FloatError>
impl Add<NonNegativeF32> for Result<NegativeNormalizedF32, FloatError>
Source§impl Add<NonNegativeF32> for Result<NonNegativeF32, FloatError>
impl Add<NonNegativeF32> for Result<NonNegativeF32, FloatError>
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§impl Add<NonNegativeF32> for Result<NonPositiveF32, FloatError>
impl Add<NonNegativeF32> for Result<NonPositiveF32, FloatError>
Source§impl Add<NonNegativeF32> for Result<NonZeroF32, FloatError>
impl Add<NonNegativeF32> for Result<NonZeroF32, FloatError>
Source§impl Add<NonNegativeF32> for Result<NormalizedF32, FloatError>
impl Add<NonNegativeF32> for Result<NormalizedF32, FloatError>
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§impl Add<NonNegativeF32> for Result<PiBoundedF32, FloatError>
impl Add<NonNegativeF32> for Result<PiBoundedF32, FloatError>
Source§impl Add<NonNegativeF32> for Result<PositiveF32, FloatError>
impl Add<NonNegativeF32> for Result<PositiveF32, FloatError>
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§impl Add<NonNegativeF32> for Result<SymmetricF32, FloatError>
impl Add<NonNegativeF32> for Result<SymmetricF32, FloatError>
Source§impl Add<NonNegativeF32> for SymmetricF32
impl Add<NonNegativeF32> for SymmetricF32
Source§impl Add<NonNegativeF32> for f32
impl Add<NonNegativeF32> for f32
Source§impl Add<NonPositiveF32> for NonNegativeF32
impl Add<NonPositiveF32> for NonNegativeF32
Source§impl Add<NonZeroF32> for NonNegativeF32
impl Add<NonZeroF32> for NonNegativeF32
Source§impl Add<NormalizedF32> for NonNegativeF32
impl Add<NormalizedF32> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§impl Add<Option<NegativeF32>> for NonNegativeF32
impl Add<Option<NegativeF32>> for NonNegativeF32
Source§impl Add<Option<NegativeNormalizedF32>> for NonNegativeF32
impl Add<Option<NegativeNormalizedF32>> for NonNegativeF32
Source§impl Add<Option<NonNegativeF32>> for NonNegativeF32
impl Add<Option<NonNegativeF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§impl Add<Option<NonPositiveF32>> for NonNegativeF32
impl Add<Option<NonPositiveF32>> for NonNegativeF32
Source§impl Add<Option<NonZeroF32>> for NonNegativeF32
impl Add<Option<NonZeroF32>> for NonNegativeF32
Source§impl Add<Option<NormalizedF32>> for NonNegativeF32
impl Add<Option<NormalizedF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§impl Add<Option<PiBoundedF32>> for NonNegativeF32
impl Add<Option<PiBoundedF32>> for NonNegativeF32
Source§impl Add<Option<PositiveF32>> for NonNegativeF32
impl Add<Option<PositiveF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§impl Add<Option<SymmetricF32>> for NonNegativeF32
impl Add<Option<SymmetricF32>> for NonNegativeF32
Source§impl Add<PiBoundedF32> for NonNegativeF32
impl Add<PiBoundedF32> for NonNegativeF32
Source§impl Add<PositiveF32> for NonNegativeF32
impl Add<PositiveF32> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§impl Add<Result<FinF32, FloatError>> for NonNegativeF32
impl Add<Result<FinF32, FloatError>> for NonNegativeF32
Source§impl Add<Result<NegativeF32, FloatError>> for NonNegativeF32
impl Add<Result<NegativeF32, FloatError>> for NonNegativeF32
Source§fn add(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output
fn add(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output
+ operation. Read moreSource§impl Add<Result<NegativeNormalizedF32, FloatError>> for NonNegativeF32
impl Add<Result<NegativeNormalizedF32, FloatError>> for NonNegativeF32
Source§fn add(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output
fn add(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output
+ operation. Read moreSource§impl Add<Result<NonNegativeF32, FloatError>> for NonNegativeF32
impl Add<Result<NonNegativeF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§fn add(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output
fn add(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output
+ operation. Read moreSource§impl Add<Result<NonPositiveF32, FloatError>> for NonNegativeF32
impl Add<Result<NonPositiveF32, FloatError>> for NonNegativeF32
Source§fn add(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output
fn add(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output
+ operation. Read moreSource§impl Add<Result<NonZeroF32, FloatError>> for NonNegativeF32
impl Add<Result<NonZeroF32, FloatError>> for NonNegativeF32
Source§fn add(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output
fn add(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output
+ operation. Read moreSource§impl Add<Result<NormalizedF32, FloatError>> for NonNegativeF32
impl Add<Result<NormalizedF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§fn add(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output
fn add(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output
+ operation. Read moreSource§impl Add<Result<PiBoundedF32, FloatError>> for NonNegativeF32
impl Add<Result<PiBoundedF32, FloatError>> for NonNegativeF32
Source§fn add(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output
fn add(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output
+ operation. Read moreSource§impl Add<Result<PositiveF32, FloatError>> for NonNegativeF32
impl Add<Result<PositiveF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§fn add(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output
fn add(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output
+ operation. Read moreSource§impl Add<Result<SymmetricF32, FloatError>> for NonNegativeF32
impl Add<Result<SymmetricF32, FloatError>> for NonNegativeF32
Source§fn add(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output
fn add(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output
+ operation. Read moreSource§impl Add<SymmetricF32> for NonNegativeF32
impl Add<SymmetricF32> for NonNegativeF32
Source§impl Add<f32> for NonNegativeF32
impl Add<f32> for NonNegativeF32
Source§impl Add for NonNegativeF32
impl Add for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
+ operator.Source§impl Clone for NonNegativeF32
impl Clone for NonNegativeF32
Source§fn clone(&self) -> NonNegativeF32
fn clone(&self) -> NonNegativeF32
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NonNegativeF32
impl Debug for NonNegativeF32
Source§impl<'de> Deserialize<'de> for NonNegativeF32where
f32: Deserialize<'de>,
Available on crate feature serde only.
impl<'de> Deserialize<'de> for NonNegativeF32where
f32: Deserialize<'de>,
serde only.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>,
Source§impl Display for NonNegativeF32
impl Display for NonNegativeF32
Source§impl Div<FinF32> for NonNegativeF32
impl Div<FinF32> for NonNegativeF32
Source§impl Div<NegativeF32> for NonNegativeF32
impl Div<NegativeF32> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§impl Div<NegativeNormalizedF32> for NonNegativeF32
impl Div<NegativeNormalizedF32> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for FinF32
impl Div<NonNegativeF32> for FinF32
Source§impl Div<NonNegativeF32> for NegativeF32
impl Div<NonNegativeF32> for NegativeF32
Source§type Output = Result<NegativeF32, FloatError>
type Output = Result<NegativeF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for NegativeNormalizedF32
impl Div<NonNegativeF32> for NegativeNormalizedF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for NonPositiveF32
impl Div<NonNegativeF32> for NonPositiveF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for NonZeroF32
impl Div<NonNegativeF32> for NonZeroF32
Source§type Output = Result<NonZeroF32, FloatError>
type Output = Result<NonZeroF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for NormalizedF32
impl Div<NonNegativeF32> for NormalizedF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for PiBoundedF32
impl Div<NonNegativeF32> for PiBoundedF32
Source§impl Div<NonNegativeF32> for PositiveF32
impl Div<NonNegativeF32> for PositiveF32
Source§type Output = Result<PositiveF32, FloatError>
type Output = Result<PositiveF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for Result<FinF32, FloatError>
impl Div<NonNegativeF32> for Result<FinF32, FloatError>
Source§impl Div<NonNegativeF32> for Result<NegativeF32, FloatError>
impl Div<NonNegativeF32> for Result<NegativeF32, FloatError>
Source§type Output = Result<NegativeF32, FloatError>
type Output = Result<NegativeF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for Result<NegativeNormalizedF32, FloatError>
impl Div<NonNegativeF32> for Result<NegativeNormalizedF32, FloatError>
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for Result<NonNegativeF32, FloatError>
impl Div<NonNegativeF32> for Result<NonNegativeF32, FloatError>
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for Result<NonPositiveF32, FloatError>
impl Div<NonNegativeF32> for Result<NonPositiveF32, FloatError>
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for Result<NonZeroF32, FloatError>
impl Div<NonNegativeF32> for Result<NonZeroF32, FloatError>
Source§type Output = Result<NonZeroF32, FloatError>
type Output = Result<NonZeroF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for Result<NormalizedF32, FloatError>
impl Div<NonNegativeF32> for Result<NormalizedF32, FloatError>
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for Result<PiBoundedF32, FloatError>
impl Div<NonNegativeF32> for Result<PiBoundedF32, FloatError>
Source§impl Div<NonNegativeF32> for Result<PositiveF32, FloatError>
impl Div<NonNegativeF32> for Result<PositiveF32, FloatError>
Source§type Output = Result<PositiveF32, FloatError>
type Output = Result<PositiveF32, FloatError>
/ operator.Source§impl Div<NonNegativeF32> for Result<SymmetricF32, FloatError>
impl Div<NonNegativeF32> for Result<SymmetricF32, FloatError>
Source§impl Div<NonNegativeF32> for SymmetricF32
impl Div<NonNegativeF32> for SymmetricF32
Source§impl Div<NonNegativeF32> for f32
impl Div<NonNegativeF32> for f32
Source§impl Div<NonPositiveF32> for NonNegativeF32
impl Div<NonPositiveF32> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§impl Div<NonZeroF32> for NonNegativeF32
impl Div<NonZeroF32> for NonNegativeF32
Source§impl Div<NormalizedF32> for NonNegativeF32
impl Div<NormalizedF32> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§impl Div<Option<NegativeF32>> for NonNegativeF32
impl Div<Option<NegativeF32>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§impl Div<Option<NegativeNormalizedF32>> for NonNegativeF32
impl Div<Option<NegativeNormalizedF32>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§impl Div<Option<NonNegativeF32>> for NonNegativeF32
impl Div<Option<NonNegativeF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§impl Div<Option<NonPositiveF32>> for NonNegativeF32
impl Div<Option<NonPositiveF32>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§impl Div<Option<NonZeroF32>> for NonNegativeF32
impl Div<Option<NonZeroF32>> for NonNegativeF32
Source§impl Div<Option<NormalizedF32>> for NonNegativeF32
impl Div<Option<NormalizedF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§impl Div<Option<PiBoundedF32>> for NonNegativeF32
impl Div<Option<PiBoundedF32>> for NonNegativeF32
Source§impl Div<Option<PositiveF32>> for NonNegativeF32
impl Div<Option<PositiveF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§impl Div<Option<SymmetricF32>> for NonNegativeF32
impl Div<Option<SymmetricF32>> for NonNegativeF32
Source§impl Div<PiBoundedF32> for NonNegativeF32
impl Div<PiBoundedF32> for NonNegativeF32
Source§impl Div<PositiveF32> for NonNegativeF32
impl Div<PositiveF32> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§impl Div<Result<FinF32, FloatError>> for NonNegativeF32
impl Div<Result<FinF32, FloatError>> for NonNegativeF32
Source§impl Div<Result<NegativeF32, FloatError>> for NonNegativeF32
impl Div<Result<NegativeF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§fn div(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output
fn div(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output
/ operation. Read moreSource§impl Div<Result<NegativeNormalizedF32, FloatError>> for NonNegativeF32
impl Div<Result<NegativeNormalizedF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§fn div(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output
fn div(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output
/ operation. Read moreSource§impl Div<Result<NonNegativeF32, FloatError>> for NonNegativeF32
impl Div<Result<NonNegativeF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§fn div(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output
fn div(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output
/ operation. Read moreSource§impl Div<Result<NonPositiveF32, FloatError>> for NonNegativeF32
impl Div<Result<NonPositiveF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
/ operator.Source§fn div(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output
fn div(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output
/ operation. Read moreSource§impl Div<Result<NonZeroF32, FloatError>> for NonNegativeF32
impl Div<Result<NonZeroF32, FloatError>> for NonNegativeF32
Source§fn div(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output
fn div(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output
/ operation. Read moreSource§impl Div<Result<NormalizedF32, FloatError>> for NonNegativeF32
impl Div<Result<NormalizedF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§fn div(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output
fn div(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output
/ operation. Read moreSource§impl Div<Result<PiBoundedF32, FloatError>> for NonNegativeF32
impl Div<Result<PiBoundedF32, FloatError>> for NonNegativeF32
Source§fn div(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output
fn div(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output
/ operation. Read moreSource§impl Div<Result<PositiveF32, FloatError>> for NonNegativeF32
impl Div<Result<PositiveF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§fn div(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output
fn div(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output
/ operation. Read moreSource§impl Div<Result<SymmetricF32, FloatError>> for NonNegativeF32
impl Div<Result<SymmetricF32, FloatError>> for NonNegativeF32
Source§fn div(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output
fn div(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output
/ operation. Read moreSource§impl Div<SymmetricF32> for NonNegativeF32
impl Div<SymmetricF32> for NonNegativeF32
Source§impl Div<f32> for NonNegativeF32
impl Div<f32> for NonNegativeF32
Source§impl Div for NonNegativeF32
impl Div for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
/ operator.Source§impl FiniteFloat for NonNegativeF32
impl FiniteFloat for NonNegativeF32
Source§impl From<NonNegativeF32> for FinF32
impl From<NonNegativeF32> for FinF32
Source§fn from(value: NonNegativeF32) -> Self
fn from(value: NonNegativeF32) -> Self
Source§impl From<NonNegativeF32> for NonNegativeF64
impl From<NonNegativeF32> for NonNegativeF64
Source§fn from(value: NonNegativeF32) -> Self
fn from(value: NonNegativeF32) -> Self
Source§impl From<NonNegativeF32> for f32
impl From<NonNegativeF32> for f32
Source§fn from(value: NonNegativeF32) -> Self
fn from(value: NonNegativeF32) -> Self
Source§impl From<NormalizedF32> for NonNegativeF32
impl From<NormalizedF32> for NonNegativeF32
Source§fn from(value: NormalizedF32) -> Self
fn from(value: NormalizedF32) -> Self
Source§impl From<PositiveF32> for NonNegativeF32
impl From<PositiveF32> for NonNegativeF32
Source§fn from(value: PositiveF32) -> Self
fn from(value: PositiveF32) -> Self
Source§impl FromStr for NonNegativeF32
impl FromStr for NonNegativeF32
Source§impl Mul<FinF32> for NonNegativeF32
impl Mul<FinF32> for NonNegativeF32
Source§impl Mul<NegativeF32> for NonNegativeF32
impl Mul<NegativeF32> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<NegativeNormalizedF32> for NonNegativeF32
impl Mul<NegativeNormalizedF32> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for FinF32
impl Mul<NonNegativeF32> for FinF32
Source§impl Mul<NonNegativeF32> for NegativeF32
impl Mul<NonNegativeF32> for NegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for NegativeNormalizedF32
impl Mul<NonNegativeF32> for NegativeNormalizedF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for NonPositiveF32
impl Mul<NonNegativeF32> for NonPositiveF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for NonZeroF32
impl Mul<NonNegativeF32> for NonZeroF32
Source§impl Mul<NonNegativeF32> for NormalizedF32
impl Mul<NonNegativeF32> for NormalizedF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for PiBoundedF32
impl Mul<NonNegativeF32> for PiBoundedF32
Source§impl Mul<NonNegativeF32> for PositiveF32
impl Mul<NonNegativeF32> for PositiveF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for Result<FinF32, FloatError>
impl Mul<NonNegativeF32> for Result<FinF32, FloatError>
Source§impl Mul<NonNegativeF32> for Result<NegativeF32, FloatError>
impl Mul<NonNegativeF32> for Result<NegativeF32, FloatError>
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for Result<NegativeNormalizedF32, FloatError>
impl Mul<NonNegativeF32> for Result<NegativeNormalizedF32, FloatError>
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for Result<NonNegativeF32, FloatError>
impl Mul<NonNegativeF32> for Result<NonNegativeF32, FloatError>
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for Result<NonPositiveF32, FloatError>
impl Mul<NonNegativeF32> for Result<NonPositiveF32, FloatError>
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for Result<NonZeroF32, FloatError>
impl Mul<NonNegativeF32> for Result<NonZeroF32, FloatError>
Source§impl Mul<NonNegativeF32> for Result<NormalizedF32, FloatError>
impl Mul<NonNegativeF32> for Result<NormalizedF32, FloatError>
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for Result<PiBoundedF32, FloatError>
impl Mul<NonNegativeF32> for Result<PiBoundedF32, FloatError>
Source§impl Mul<NonNegativeF32> for Result<PositiveF32, FloatError>
impl Mul<NonNegativeF32> for Result<PositiveF32, FloatError>
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§impl Mul<NonNegativeF32> for Result<SymmetricF32, FloatError>
impl Mul<NonNegativeF32> for Result<SymmetricF32, FloatError>
Source§impl Mul<NonNegativeF32> for SymmetricF32
impl Mul<NonNegativeF32> for SymmetricF32
Source§impl Mul<NonNegativeF32> for f32
impl Mul<NonNegativeF32> for f32
Source§impl Mul<NonPositiveF32> for NonNegativeF32
impl Mul<NonPositiveF32> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<NonZeroF32> for NonNegativeF32
impl Mul<NonZeroF32> for NonNegativeF32
Source§impl Mul<NormalizedF32> for NonNegativeF32
impl Mul<NormalizedF32> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§impl Mul<Option<NegativeF32>> for NonNegativeF32
impl Mul<Option<NegativeF32>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<Option<NegativeNormalizedF32>> for NonNegativeF32
impl Mul<Option<NegativeNormalizedF32>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<Option<NonNegativeF32>> for NonNegativeF32
impl Mul<Option<NonNegativeF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§impl Mul<Option<NonPositiveF32>> for NonNegativeF32
impl Mul<Option<NonPositiveF32>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§impl Mul<Option<NonZeroF32>> for NonNegativeF32
impl Mul<Option<NonZeroF32>> for NonNegativeF32
Source§impl Mul<Option<NormalizedF32>> for NonNegativeF32
impl Mul<Option<NormalizedF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§impl Mul<Option<PiBoundedF32>> for NonNegativeF32
impl Mul<Option<PiBoundedF32>> for NonNegativeF32
Source§impl Mul<Option<PositiveF32>> for NonNegativeF32
impl Mul<Option<PositiveF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§impl Mul<Option<SymmetricF32>> for NonNegativeF32
impl Mul<Option<SymmetricF32>> for NonNegativeF32
Source§impl Mul<PiBoundedF32> for NonNegativeF32
impl Mul<PiBoundedF32> for NonNegativeF32
Source§impl Mul<PositiveF32> for NonNegativeF32
impl Mul<PositiveF32> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§impl Mul<Result<FinF32, FloatError>> for NonNegativeF32
impl Mul<Result<FinF32, FloatError>> for NonNegativeF32
Source§impl Mul<Result<NegativeF32, FloatError>> for NonNegativeF32
impl Mul<Result<NegativeF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§fn mul(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output
fn mul(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output
* operation. Read moreSource§impl Mul<Result<NegativeNormalizedF32, FloatError>> for NonNegativeF32
impl Mul<Result<NegativeNormalizedF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§fn mul(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output
fn mul(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output
* operation. Read moreSource§impl Mul<Result<NonNegativeF32, FloatError>> for NonNegativeF32
impl Mul<Result<NonNegativeF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§fn mul(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output
fn mul(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output
* operation. Read moreSource§impl Mul<Result<NonPositiveF32, FloatError>> for NonNegativeF32
impl Mul<Result<NonPositiveF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
* operator.Source§fn mul(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output
fn mul(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output
* operation. Read moreSource§impl Mul<Result<NonZeroF32, FloatError>> for NonNegativeF32
impl Mul<Result<NonZeroF32, FloatError>> for NonNegativeF32
Source§fn mul(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output
fn mul(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output
* operation. Read moreSource§impl Mul<Result<NormalizedF32, FloatError>> for NonNegativeF32
impl Mul<Result<NormalizedF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§fn mul(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output
fn mul(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output
* operation. Read moreSource§impl Mul<Result<PiBoundedF32, FloatError>> for NonNegativeF32
impl Mul<Result<PiBoundedF32, FloatError>> for NonNegativeF32
Source§fn mul(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output
fn mul(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output
* operation. Read moreSource§impl Mul<Result<PositiveF32, FloatError>> for NonNegativeF32
impl Mul<Result<PositiveF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§fn mul(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output
fn mul(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output
* operation. Read moreSource§impl Mul<Result<SymmetricF32, FloatError>> for NonNegativeF32
impl Mul<Result<SymmetricF32, FloatError>> for NonNegativeF32
Source§fn mul(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output
fn mul(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output
* operation. Read moreSource§impl Mul<SymmetricF32> for NonNegativeF32
impl Mul<SymmetricF32> for NonNegativeF32
Source§impl Mul<f32> for NonNegativeF32
impl Mul<f32> for NonNegativeF32
Source§impl Mul for NonNegativeF32
impl Mul for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
* operator.Source§impl Neg for NonNegativeF32
impl Neg for NonNegativeF32
Source§impl Ord for NonNegativeF32
impl Ord for NonNegativeF32
Source§impl PartialEq for NonNegativeF32
impl PartialEq for NonNegativeF32
Source§impl PartialOrd for NonNegativeF32
impl PartialOrd for NonNegativeF32
Source§impl Serialize for NonNegativeF32
Available on crate feature serde only.
impl Serialize for NonNegativeF32
serde only.Source§impl Sub<FinF32> for NonNegativeF32
impl Sub<FinF32> for NonNegativeF32
Source§impl Sub<NegativeF32> for NonNegativeF32
impl Sub<NegativeF32> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
- operator.Source§impl Sub<NegativeNormalizedF32> for NonNegativeF32
impl Sub<NegativeNormalizedF32> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
- operator.Source§impl Sub<NonNegativeF32> for FinF32
impl Sub<NonNegativeF32> for FinF32
Source§impl Sub<NonNegativeF32> for NegativeF32
impl Sub<NonNegativeF32> for NegativeF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
- operator.Source§impl Sub<NonNegativeF32> for NegativeNormalizedF32
impl Sub<NonNegativeF32> for NegativeNormalizedF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
- operator.Source§impl Sub<NonNegativeF32> for NonPositiveF32
impl Sub<NonNegativeF32> for NonPositiveF32
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
- operator.Source§impl Sub<NonNegativeF32> for NonZeroF32
impl Sub<NonNegativeF32> for NonZeroF32
Source§impl Sub<NonNegativeF32> for NormalizedF32
impl Sub<NonNegativeF32> for NormalizedF32
Source§impl Sub<NonNegativeF32> for PiBoundedF32
impl Sub<NonNegativeF32> for PiBoundedF32
Source§impl Sub<NonNegativeF32> for PositiveF32
impl Sub<NonNegativeF32> for PositiveF32
Source§impl Sub<NonNegativeF32> for Result<FinF32, FloatError>
impl Sub<NonNegativeF32> for Result<FinF32, FloatError>
Source§impl Sub<NonNegativeF32> for Result<NegativeF32, FloatError>
impl Sub<NonNegativeF32> for Result<NegativeF32, FloatError>
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
- operator.Source§impl Sub<NonNegativeF32> for Result<NegativeNormalizedF32, FloatError>
impl Sub<NonNegativeF32> for Result<NegativeNormalizedF32, FloatError>
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
- operator.Source§impl Sub<NonNegativeF32> for Result<NonNegativeF32, FloatError>
impl Sub<NonNegativeF32> for Result<NonNegativeF32, FloatError>
Source§impl Sub<NonNegativeF32> for Result<NonPositiveF32, FloatError>
impl Sub<NonNegativeF32> for Result<NonPositiveF32, FloatError>
Source§type Output = Result<NonPositiveF32, FloatError>
type Output = Result<NonPositiveF32, FloatError>
- operator.Source§impl Sub<NonNegativeF32> for Result<NonZeroF32, FloatError>
impl Sub<NonNegativeF32> for Result<NonZeroF32, FloatError>
Source§impl Sub<NonNegativeF32> for Result<NormalizedF32, FloatError>
impl Sub<NonNegativeF32> for Result<NormalizedF32, FloatError>
Source§impl Sub<NonNegativeF32> for Result<PiBoundedF32, FloatError>
impl Sub<NonNegativeF32> for Result<PiBoundedF32, FloatError>
Source§impl Sub<NonNegativeF32> for Result<PositiveF32, FloatError>
impl Sub<NonNegativeF32> for Result<PositiveF32, FloatError>
Source§impl Sub<NonNegativeF32> for Result<SymmetricF32, FloatError>
impl Sub<NonNegativeF32> for Result<SymmetricF32, FloatError>
Source§impl Sub<NonNegativeF32> for SymmetricF32
impl Sub<NonNegativeF32> for SymmetricF32
Source§impl Sub<NonNegativeF32> for f32
impl Sub<NonNegativeF32> for f32
Source§impl Sub<NonPositiveF32> for NonNegativeF32
impl Sub<NonPositiveF32> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
- operator.Source§impl Sub<NonZeroF32> for NonNegativeF32
impl Sub<NonZeroF32> for NonNegativeF32
Source§impl Sub<NormalizedF32> for NonNegativeF32
impl Sub<NormalizedF32> for NonNegativeF32
Source§impl Sub<Option<NegativeF32>> for NonNegativeF32
impl Sub<Option<NegativeF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
- operator.Source§impl Sub<Option<NegativeNormalizedF32>> for NonNegativeF32
impl Sub<Option<NegativeNormalizedF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
- operator.Source§impl Sub<Option<NonNegativeF32>> for NonNegativeF32
impl Sub<Option<NonNegativeF32>> for NonNegativeF32
Source§impl Sub<Option<NonPositiveF32>> for NonNegativeF32
impl Sub<Option<NonPositiveF32>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
- operator.Source§impl Sub<Option<NonZeroF32>> for NonNegativeF32
impl Sub<Option<NonZeroF32>> for NonNegativeF32
Source§impl Sub<Option<NormalizedF32>> for NonNegativeF32
impl Sub<Option<NormalizedF32>> for NonNegativeF32
Source§impl Sub<Option<PiBoundedF32>> for NonNegativeF32
impl Sub<Option<PiBoundedF32>> for NonNegativeF32
Source§impl Sub<Option<PositiveF32>> for NonNegativeF32
impl Sub<Option<PositiveF32>> for NonNegativeF32
Source§impl Sub<Option<SymmetricF32>> for NonNegativeF32
impl Sub<Option<SymmetricF32>> for NonNegativeF32
Source§impl Sub<PiBoundedF32> for NonNegativeF32
impl Sub<PiBoundedF32> for NonNegativeF32
Source§impl Sub<PositiveF32> for NonNegativeF32
impl Sub<PositiveF32> for NonNegativeF32
Source§impl Sub<Result<FinF32, FloatError>> for NonNegativeF32
impl Sub<Result<FinF32, FloatError>> for NonNegativeF32
Source§impl Sub<Result<NegativeF32, FloatError>> for NonNegativeF32
impl Sub<Result<NegativeF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
- operator.Source§fn sub(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output
fn sub(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output
- operation. Read moreSource§impl Sub<Result<NegativeNormalizedF32, FloatError>> for NonNegativeF32
impl Sub<Result<NegativeNormalizedF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
- operator.Source§fn sub(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output
fn sub(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output
- operation. Read moreSource§impl Sub<Result<NonNegativeF32, FloatError>> for NonNegativeF32
impl Sub<Result<NonNegativeF32, FloatError>> for NonNegativeF32
Source§fn sub(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output
fn sub(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output
- operation. Read moreSource§impl Sub<Result<NonPositiveF32, FloatError>> for NonNegativeF32
impl Sub<Result<NonPositiveF32, FloatError>> for NonNegativeF32
Source§type Output = Result<NonNegativeF32, FloatError>
type Output = Result<NonNegativeF32, FloatError>
- operator.Source§fn sub(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output
fn sub(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output
- operation. Read moreSource§impl Sub<Result<NonZeroF32, FloatError>> for NonNegativeF32
impl Sub<Result<NonZeroF32, FloatError>> for NonNegativeF32
Source§fn sub(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output
fn sub(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output
- operation. Read moreSource§impl Sub<Result<NormalizedF32, FloatError>> for NonNegativeF32
impl Sub<Result<NormalizedF32, FloatError>> for NonNegativeF32
Source§fn sub(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output
fn sub(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output
- operation. Read moreSource§impl Sub<Result<PiBoundedF32, FloatError>> for NonNegativeF32
impl Sub<Result<PiBoundedF32, FloatError>> for NonNegativeF32
Source§fn sub(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output
fn sub(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output
- operation. Read moreSource§impl Sub<Result<PositiveF32, FloatError>> for NonNegativeF32
impl Sub<Result<PositiveF32, FloatError>> for NonNegativeF32
Source§fn sub(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output
fn sub(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output
- operation. Read moreSource§impl Sub<Result<SymmetricF32, FloatError>> for NonNegativeF32
impl Sub<Result<SymmetricF32, FloatError>> for NonNegativeF32
Source§fn sub(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output
fn sub(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output
- operation. Read more