Struct libreda_pnr::db::Index[][src]

pub struct Index<T> { /* fields omitted */ }

An identifier for an arbitrary type T. This is a wrapper around usize which is bound to a type T.

Implementations

impl<T> Index<T>[src]

pub fn value(&self) -> usize[src]

Get the integer value of this index.

Trait Implementations

impl<T> Clone for Index<T>[src]

impl<T> Copy for Index<T>[src]

impl<T> Debug for Index<T> where
    T: Debug
[src]

impl<T> Display for Index<T>[src]

impl<T> Eq for Index<T>[src]

impl<T> Hash for Index<T>[src]

impl<T> Ord for Index<T>[src]

impl<T> PartialEq<Index<T>> for Index<T>[src]

impl<T> PartialOrd<Index<T>> for Index<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Index<T> where
    T: RefUnwindSafe

impl<T> Send for Index<T> where
    T: Send

impl<T> Sync for Index<T> where
    T: Sync

impl<T> Unpin for Index<T> where
    T: Unpin

impl<T> UnwindSafe for Index<T> where
    T: UnwindSafe

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> From<T> for T[src]

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

impl<T> TextType for T where
    T: Clone + Eq + Debug + Hash

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.