Struct db_dump::crates::CrateId[][src]

#[repr(transparent)]pub struct CrateId(pub u32);

Primary key of crates.csv.

Implementations

impl CrateId[src]

pub fn lookup<'a>(self, index: &Index<'a>) -> &'a Row[src]

Trait Implementations

impl Borrow<CrateId> for Row[src]

impl Clone for CrateId[src]

impl Copy for CrateId[src]

impl Debug for CrateId[src]

impl<'de> Deserialize<'de> for CrateId[src]

impl Eq for CrateId[src]

impl Hash for CrateId[src]

impl Ord for CrateId[src]

impl PartialEq<CrateId> for CrateId[src]

impl PartialOrd<CrateId> for CrateId[src]

impl StructuralEq for CrateId[src]

impl StructuralPartialEq for CrateId[src]

Auto Trait Implementations

impl RefUnwindSafe for CrateId

impl Send for CrateId

impl Sync for CrateId

impl Unpin for CrateId

impl UnwindSafe for CrateId

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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, 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.