manifold3d_types::math

Type Alias NonNegativeF64

Source
pub type NonNegativeF64 = NonNegativeNum<f64>;

Aliased Type§

struct NonNegativeF64(/* private fields */);

Trait Implementations§

Source§

impl From<u16> for NonNegativeF64

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for NonNegativeF64

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for NonNegativeF64

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl Into<f64> for NonNegativeF64

Source§

fn into(self) -> f64

Converts this type into the (usually inferred) input type.
Source§

impl TryFrom<f32> for NonNegativeF64

Source§

type Error = NonNegativeNumError

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 NonNegativeF64

Source§

type Error = NonNegativeNumError

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 TryFrom<i16> for NonNegativeF64

Source§

type Error = NonNegativeNumError

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

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

Performs the conversion.
Source§

impl TryFrom<i32> for NonNegativeF64

Source§

type Error = NonNegativeNumError

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

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

Performs the conversion.
Source§

impl TryFrom<i8> for NonNegativeF64

Source§

type Error = NonNegativeNumError

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

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

Performs the conversion.