[][src]Enum voile_util::level::Level

pub enum Level {
    Omega,
    Num(LevelType),
}

Level, can be inferred or user-specified.

Variants

Omega

Methods

impl Level[src]

pub fn max(self, other: Self) -> Self[src]

pub fn map(self, f: impl FnOnce(LevelType) -> LevelType) -> Self[src]

pub fn and_then(self, f: impl FnOnce(LevelType) -> Self) -> Self[src]

Trait Implementations

impl From<u32> for Level[src]

impl From<usize> for Level[src]

impl Clone for Level[src]

impl Copy for Level[src]

impl Default for Level[src]

impl Eq for Level[src]

impl Ord for Level[src]

impl PartialEq<Level> for Level[src]

impl PartialOrd<Level> for Level[src]

impl Display for Level[src]

impl Debug for Level[src]

impl Sub<u32> for Level[src]

type Output = Self

The resulting type after applying the - operator.

impl Add<Level> for Level[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<u32> for Level[src]

type Output = Self

The resulting type after applying the + operator.

Auto Trait Implementations

impl Send for Level

impl Sync for Level

impl Unpin for Level

impl UnwindSafe for Level

impl RefUnwindSafe for Level

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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