PiBoundedF32

Struct PiBoundedF32 

Source
pub struct PiBoundedF32 { /* private fields */ }
Expand description

A 32-bit floating-point number representing a PiBounded value.

§Constraints

This type enforces the following constraints:

  • Range: -PI ≤ x ≤ PI (range [-PI, PI])
  • Finite: Excludes NaN and ±∞

§Examples

Creating a value:

#![expect(clippy::approx_constant)]
use strict_num_extended::{PiBoundedF32, FloatError};

let value = PiBoundedF32::new(0.0)?;
assert_eq!(value.get(), 0.0);

Implementations§

Source§

impl PiBoundedF32

Source

pub fn new(value: f32) -> Result<Self, FloatError>

Creates a new PiBoundedF32 value.

The value must satisfy the constraint: range [-PI, PI].

§Examples

Valid value:

#![expect(clippy::approx_constant)]
use strict_num_extended::{PiBoundedF32, FloatError};

let value = PiBoundedF32::new(-3.041592653589793)?;
assert_eq!(value.get(), -3.041592653589793);

Invalid value (NaN):

use strict_num_extended::PiBoundedF32;

let invalid = PiBoundedF32::new(f32::NAN);
assert!(invalid.is_err());
§Errors

Returns Err(FloatError) if the value does not satisfy the constraint.

Source

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.

Source

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

pub const fn value(&self) -> f32

Gets the inner value (alias for get())

§Example
use strict_num_extended::FinF32;

let finite = FinF32::new(2.5);
assert_eq!(finite.unwrap().value(), 2.5);
Source

pub const fn new_const(value: f32) -> Self

Creates a value at compile time

§Panics

Will panic at compile time or runtime if the value does not satisfy the constraint.

Source§

impl PiBoundedF32

Source

pub fn abs(self) -> NonNegativeF32

Computes the absolute value.

The return type is automatically inferred based on the source constraint:

  • NonNegative/NonPositiveNonNegative
  • NonZeroPositive
  • NormalizedNormalized (reflexive)
  • SymmetricNormalized
  • FinNonNegative
§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 PiBoundedF32

Source

pub fn signum(self) -> SymmetricF32

Computes the sign function.

Returns the sign of the number:

  • 1.0 if the number is positive
  • 0.0 if the number is zero
  • -1.0 if the number is negative

The return type is automatically inferred based on the source constraint:

  • Positive types → Normalized (signum in {0, 1})
  • Negative types → NegativeNormalized (signum in {-1, 0})
  • NonZero types → Symmetric (signum in {-1, 1})
  • Fin/SymmetricSymmetric (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 PiBoundedF32

Source

pub fn sin(self) -> SymmetricF32

Available on crate feature 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 PiBoundedF32

Source

pub fn cos(self) -> SymmetricF32

Available on crate feature 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 PiBoundedF32

Source

pub fn tan(self) -> Result<FinF32, FloatError>

Available on crate feature 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 PiBoundedF32

Source

pub const fn as_f32(self) -> f32

Returns the inner f32 value

Source§

impl PiBoundedF32

Source

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 PiBoundedF32

Source

pub const fn as_f64_type(self) -> PiBoundedF64

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.

Source§

impl PiBoundedF32

Source

pub const ZERO: Self

Zero (0.0)

Source

pub const ONE: Self

One (1.0)

Source

pub const NEG_ONE: Self

Negative one (-1.0)

Source

pub const TWO: Self

Two (2.0)

Source

pub const NEG_TWO: Self

Negative two (-2.0)

Source

pub const HALF: Self

Half (0.5)

Source

pub const NEG_HALF: Self

Negative half (-0.5)

Source

pub const PI: Self

Pi, the ratio of a circle’s circumference to its diameter

Source

pub const NEG_PI: Self

Negative pi

Source

pub const E: Self

Euler’s number, the base of natural logarithms

Source

pub const NEG_E: Self

Negative Euler’s number

Source

pub const FRAC_1_PI: Self

1/pi

Source

pub const FRAC_2_PI: Self

2/pi

Source

pub const FRAC_PI_2: Self

pi/2

Source

pub const FRAC_PI_3: Self

pi/3

Source

pub const FRAC_PI_4: Self

pi/4

Source

pub const FRAC_PI_6: Self

pi/6

Source

pub const FRAC_PI_8: Self

pi/8

Trait Implementations§

Source§

impl Add<FinF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: FinF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NegativeNormalizedF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NegativeNormalizedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NonNegativeF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NonNegativeF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NonPositiveF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NonPositiveF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NonZeroF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NonZeroF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<NormalizedF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: NormalizedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<FinF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<FinF32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NegativeF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NegativeF32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NegativeNormalizedF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NegativeNormalizedF32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NonNegativeF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NonNegativeF32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NonPositiveF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NonPositiveF32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NonZeroF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NonZeroF32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<NormalizedF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<NormalizedF32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<PiBoundedF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<PiBoundedF32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<PositiveF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<PositiveF32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Option<SymmetricF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Option<SymmetricF32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for FinF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for NegativeF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for NegativeNormalizedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for NonNegativeF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for NonPositiveF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for NonZeroF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for NormalizedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for PositiveF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for Result<FinF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for Result<NegativeF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for Result<NegativeNormalizedF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for Result<NonNegativeF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for Result<NonPositiveF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for Result<NonZeroF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for Result<NormalizedF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for Result<PiBoundedF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for Result<PositiveF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for Result<SymmetricF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for SymmetricF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PiBoundedF32> for f32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<PositiveF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PositiveF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<FinF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<FinF32, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NegativeF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NegativeNormalizedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NonNegativeF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NonPositiveF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NonZeroF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<NormalizedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<PiBoundedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<PositiveF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Result<SymmetricF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<SymmetricF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: SymmetricF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<f32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: PiBoundedF32) -> Self::Output

Performs the + operation. Read more
Source§

impl Clone for PiBoundedF32

Source§

fn clone(&self) -> PiBoundedF32

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PiBoundedF32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PiBoundedF32
where f32: Deserialize<'de>,

Available on crate feature serde only.
Source§

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 Display for PiBoundedF32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Div<FinF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: FinF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NegativeNormalizedF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NegativeNormalizedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NonNegativeF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NonNegativeF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NonPositiveF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NonPositiveF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NonZeroF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NonZeroF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<NormalizedF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: NormalizedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<FinF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<FinF32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NegativeF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NegativeF32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NegativeNormalizedF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NegativeNormalizedF32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NonNegativeF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NonNegativeF32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NonPositiveF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NonPositiveF32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NonZeroF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NonZeroF32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<NormalizedF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<NormalizedF32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<PiBoundedF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<PiBoundedF32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<PositiveF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<PositiveF32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Option<SymmetricF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Option<SymmetricF32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for FinF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for NegativeF32

Source§

type Output = Result<NonZeroF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for NegativeNormalizedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for NonNegativeF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for NonPositiveF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for NonZeroF32

Source§

type Output = Result<NonZeroF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for NormalizedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for PositiveF32

Source§

type Output = Result<NonZeroF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for Result<FinF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for Result<NegativeF32, FloatError>

Source§

type Output = Result<NonZeroF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for Result<NegativeNormalizedF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for Result<NonNegativeF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for Result<NonPositiveF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for Result<NonZeroF32, FloatError>

Source§

type Output = Result<NonZeroF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for Result<NormalizedF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for Result<PiBoundedF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for Result<PositiveF32, FloatError>

Source§

type Output = Result<NonZeroF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for Result<SymmetricF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for SymmetricF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PiBoundedF32> for f32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<PositiveF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PositiveF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<FinF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<FinF32, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NegativeF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NegativeNormalizedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NonNegativeF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NonPositiveF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NonZeroF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<NormalizedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<PiBoundedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<PositiveF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Result<SymmetricF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<SymmetricF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: SymmetricF32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<f32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: PiBoundedF32) -> Self::Output

Performs the / operation. Read more
Source§

impl FiniteFloat for PiBoundedF32

Source§

fn new<T: IntoF64>(value: T) -> Result<Self, FloatError>

Creates a new instance from a value that can be converted to f64 Read more
Source§

fn as_f64(&self) -> f64

Converts the value to f64 Read more
Source§

impl From<NegativeNormalizedF32> for PiBoundedF32

Source§

fn from(value: NegativeNormalizedF32) -> Self

Converts to this type from the input type.
Source§

impl From<NormalizedF32> for PiBoundedF32

Source§

fn from(value: NormalizedF32) -> Self

Converts to this type from the input type.
Source§

impl From<PiBoundedF32> for FinF32

Source§

fn from(value: PiBoundedF32) -> Self

Converts to this type from the input type.
Source§

impl From<PiBoundedF32> for PiBoundedF64

Source§

fn from(value: PiBoundedF32) -> Self

Converts to this type from the input type.
Source§

impl From<PiBoundedF32> for f32

Source§

fn from(value: PiBoundedF32) -> Self

Converts to this type from the input type.
Source§

impl From<SymmetricF32> for PiBoundedF32

Source§

fn from(value: SymmetricF32) -> Self

Converts to this type from the input type.
Source§

impl FromStr for PiBoundedF32

Source§

type Err = ParseFloatError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Mul<FinF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: FinF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NegativeNormalizedF32> for PiBoundedF32

Source§

type Output = PiBoundedF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NegativeNormalizedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NonNegativeF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NonNegativeF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NonPositiveF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NonPositiveF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NonZeroF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NonZeroF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<NormalizedF32> for PiBoundedF32

Source§

type Output = PiBoundedF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: NormalizedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<FinF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<FinF32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NegativeF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NegativeF32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NegativeNormalizedF32>> for PiBoundedF32

Source§

type Output = Option<PiBoundedF32>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NegativeNormalizedF32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NonNegativeF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NonNegativeF32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NonPositiveF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NonPositiveF32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NonZeroF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NonZeroF32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<NormalizedF32>> for PiBoundedF32

Source§

type Output = Option<PiBoundedF32>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<NormalizedF32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<PiBoundedF32>> for PiBoundedF32

Source§

type Output = Option<SymmetricF32>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<PiBoundedF32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<PositiveF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<PositiveF32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Option<SymmetricF32>> for PiBoundedF32

Source§

type Output = Option<PiBoundedF32>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Option<SymmetricF32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for FinF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for NegativeF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for NegativeNormalizedF32

Source§

type Output = PiBoundedF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for NonNegativeF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for NonPositiveF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for NonZeroF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for NormalizedF32

Source§

type Output = PiBoundedF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for PositiveF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for Result<FinF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for Result<NegativeF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for Result<NegativeNormalizedF32, FloatError>

Source§

type Output = Result<PiBoundedF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for Result<NonNegativeF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for Result<NonPositiveF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for Result<NonZeroF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for Result<NormalizedF32, FloatError>

Source§

type Output = Result<PiBoundedF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for Result<PiBoundedF32, FloatError>

Source§

type Output = Result<SymmetricF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for Result<PositiveF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for Result<SymmetricF32, FloatError>

Source§

type Output = Result<PiBoundedF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for SymmetricF32

Source§

type Output = PiBoundedF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PiBoundedF32> for f32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<PositiveF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PositiveF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<FinF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<FinF32, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NegativeF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NegativeNormalizedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<PiBoundedF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NonNegativeF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NonPositiveF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NonZeroF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<NormalizedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<PiBoundedF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<PiBoundedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<SymmetricF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<PositiveF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Result<SymmetricF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<PiBoundedF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<SymmetricF32> for PiBoundedF32

Source§

type Output = PiBoundedF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: SymmetricF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<f32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for PiBoundedF32

Source§

type Output = SymmetricF32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: PiBoundedF32) -> Self::Output

Performs the * operation. Read more
Source§

impl Neg for PiBoundedF32

Source§

type Output = PiBoundedF32

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Ord for PiBoundedF32

Source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for PiBoundedF32

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for PiBoundedF32

Source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for PiBoundedF32
where f32: Serialize,

Available on crate feature serde only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Sub<FinF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: FinF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NegativeNormalizedF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NegativeNormalizedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NonNegativeF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NonNegativeF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NonPositiveF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NonPositiveF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NonZeroF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NonZeroF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<NormalizedF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: NormalizedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<FinF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<FinF32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NegativeF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NegativeF32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NegativeNormalizedF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NegativeNormalizedF32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NonNegativeF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NonNegativeF32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NonPositiveF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NonPositiveF32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NonZeroF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NonZeroF32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<NormalizedF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<NormalizedF32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<PiBoundedF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<PiBoundedF32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<PositiveF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<PositiveF32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Option<SymmetricF32>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Option<SymmetricF32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for FinF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for NegativeF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for NegativeNormalizedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for NonNegativeF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for NonPositiveF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for NonZeroF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for NormalizedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for PositiveF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for Result<FinF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for Result<NegativeF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for Result<NegativeNormalizedF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for Result<NonNegativeF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for Result<NonPositiveF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for Result<NonZeroF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for Result<NormalizedF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for Result<PiBoundedF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for Result<PositiveF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for Result<SymmetricF32, FloatError>

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for SymmetricF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PiBoundedF32> for f32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<PositiveF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PositiveF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<FinF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<FinF32, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NegativeF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NegativeF32, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NegativeNormalizedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NegativeNormalizedF32, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NonNegativeF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NonNegativeF32, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NonPositiveF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NonPositiveF32, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NonZeroF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NonZeroF32, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<NormalizedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<NormalizedF32, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<PiBoundedF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<PiBoundedF32, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<PositiveF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<PositiveF32, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Result<SymmetricF32, FloatError>> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Result<SymmetricF32, FloatError>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<SymmetricF32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: SymmetricF32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<f32> for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for PiBoundedF32

Source§

type Output = Result<FinF32, FloatError>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: PiBoundedF32) -> Self::Output

Performs the - operation. Read more
Source§

impl TryFrom<FinF32> for PiBoundedF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: FinF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NegativeF32> for PiBoundedF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NegativeF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NonNegativeF32> for PiBoundedF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NonNegativeF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NonPositiveF32> for PiBoundedF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NonPositiveF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NonZeroF32> for PiBoundedF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: NonZeroF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PiBoundedF32> for NegativeF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PiBoundedF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PiBoundedF32> for NegativeNormalizedF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PiBoundedF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PiBoundedF32> for NonNegativeF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PiBoundedF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PiBoundedF32> for NonPositiveF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PiBoundedF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PiBoundedF32> for NonZeroF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PiBoundedF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PiBoundedF32> for NormalizedF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PiBoundedF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PiBoundedF32> for PositiveF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PiBoundedF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PiBoundedF32> for SymmetricF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PiBoundedF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PiBoundedF64> for PiBoundedF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PiBoundedF64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PositiveF32> for PiBoundedF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PositiveF32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<f32> for PiBoundedF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: f32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<f64> for PiBoundedF32

Source§

type Error = FloatError

The type returned in the event of a conversion error.
Source§

fn try_from(value: f64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Copy for PiBoundedF32

Source§

impl Eq for PiBoundedF32

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,