[][src]Enum game24::Maybe32

pub enum Maybe32 {
    Nothing,
    Integer(i32),
    Decimal(f32),
}

Variants

Nothing
Integer(i32)
Decimal(f32)

Implementations

impl Maybe32[src]

pub fn round(&self) -> i32[src]

Trait Implementations

impl Add<Maybe32> for Maybe32[src]

type Output = Maybe32

The resulting type after applying the + operator.

impl Clone for Maybe32[src]

impl Connect<Maybe32> for Maybe32[src]

type Output = Maybe32

impl Copy for Maybe32[src]

impl Debug for Maybe32[src]

impl Display for Maybe32[src]

impl Div<Maybe32> for Maybe32[src]

type Output = Maybe32

The resulting type after applying the / operator.

impl Eq for Maybe32[src]

impl Factorial<Maybe32> for Maybe32[src]

impl From<i32> for Maybe32[src]

impl Mul<Maybe32> for Maybe32[src]

type Output = Maybe32

The resulting type after applying the * operator.

impl Ord for Maybe32[src]

impl PartialEq<Maybe32> for Maybe32[src]

impl PartialEq<i32> for Maybe32[src]

impl PartialOrd<Maybe32> for Maybe32[src]

impl Pow<Maybe32> for Maybe32[src]

type Output = Maybe32

The result after applying the operator.

impl StructuralPartialEq for Maybe32[src]

impl Sub<Maybe32> for Maybe32[src]

type Output = Maybe32

The resulting type after applying the - operator.

impl Surd<Maybe32> for Maybe32[src]

type Output = Maybe32

Auto Trait Implementations

impl RefUnwindSafe for Maybe32

impl Send for Maybe32

impl Sync for Maybe32

impl Unpin for Maybe32

impl UnwindSafe for Maybe32

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Factorial<T> for T where
    T: PartialOrd<T> + CheckedMul + Unsigned

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.