manifold3d_types::math

Type Alias NonNegativeI32

Source
pub type NonNegativeI32 = NonNegativeNum<i32>;

Aliased Type§

struct NonNegativeI32(/* private fields */);

Trait Implementations§

Source§

impl From<u16> for NonNegativeI32

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for NonNegativeI32

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl Into<i32> for NonNegativeI32

Source§

fn into(self) -> i32

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

impl TryFrom<i16> for NonNegativeI32

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 NonNegativeI32

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 NonNegativeI32

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.