[][src]Struct voile_util::uid::UID

pub struct UID(pub usize);

Methods

impl UID[src]

pub fn succ(self) -> Self[src]

Successor.

pub fn pred(self) -> Self[src]

Predecessor.

pub fn nat(self) -> Option<Self>[src]

Pattern matcher.

Trait Implementations

impl Clone for UID[src]

impl Copy for UID[src]

impl Default for UID[src]

impl Eq for UID[src]

impl Ord for UID[src]

impl PartialEq<UID> for UID[src]

impl PartialOrd<UID> for UID[src]

impl Debug for UID[src]

impl Display for UID[src]

impl Sub<usize> for UID[src]

type Output = UID

The resulting type after applying the - operator.

impl Sub<u32> for UID[src]

type Output = UID

The resulting type after applying the - operator.

impl Sub<i32> for UID[src]

type Output = UID

The resulting type after applying the - operator.

impl Sub<UID> for UID[src]

type Output = UID

The resulting type after applying the - operator.

impl Add<usize> for UID[src]

type Output = UID

The resulting type after applying the + operator.

impl Add<u32> for UID[src]

type Output = UID

The resulting type after applying the + operator.

impl Add<i32> for UID[src]

type Output = UID

The resulting type after applying the + operator.

impl Add<UID> for UID[src]

type Output = UID

The resulting type after applying the + operator.

impl AddAssign<usize> for UID[src]

impl AddAssign<UID> for UID[src]

impl SubAssign<usize> for UID[src]

impl SubAssign<UID> for UID[src]

impl Hash for UID[src]

impl StructuralPartialEq for UID[src]

impl StructuralEq for UID[src]

Auto Trait Implementations

impl Send for UID

impl Sync for UID

impl Unpin for UID

impl UnwindSafe for UID

impl RefUnwindSafe for UID

Blanket Implementations

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 = !

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]

impl<T> RuleType for T where
    T: Copy + Eq + Ord + Hash + Debug
[src]