[][src]Struct voile_util::uid::DBI

pub struct DBI(pub usize);

De Bruijn Indices. Checkout Wikipedia if you are curious but have no idea about it.

Methods

impl DBI[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 DBI[src]

impl Copy for DBI[src]

impl Default for DBI[src]

impl Eq for DBI[src]

impl Ord for DBI[src]

impl PartialEq<DBI> for DBI[src]

impl PartialOrd<DBI> for DBI[src]

impl Display for DBI[src]

impl Debug for DBI[src]

impl Add<usize> for DBI[src]

type Output = DBI

The resulting type after applying the + operator.

impl Add<u32> for DBI[src]

type Output = DBI

The resulting type after applying the + operator.

impl Add<i32> for DBI[src]

type Output = DBI

The resulting type after applying the + operator.

impl Add<DBI> for DBI[src]

type Output = DBI

The resulting type after applying the + operator.

impl AddAssign<usize> for DBI[src]

impl AddAssign<DBI> for DBI[src]

impl Hash for DBI[src]

Auto Trait Implementations

impl Send for DBI

impl Sync for DBI

impl Unpin for DBI

impl UnwindSafe for DBI

impl RefUnwindSafe for DBI

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]

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