Struct rustc_ap_rustc_span::def_id::CrateNum [−][src]
pub struct CrateNum { /* fields omitted */ }Implementations
Trait Implementations
As a local identifier, a CrateNum is only meaningful within its context, e.g. within a tcx.
Therefore, make sure to include the context when encode a CrateNum.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
🔬 This is a nightly-only experimental API. (step_trait)
recently redesigned
Returns the number of successor steps required to get from start to end. Read more
🔬 This is a nightly-only experimental API. (step_trait)
recently redesigned
Returns the value that would be obtained by taking the successor
of self count times. Read more
🔬 This is a nightly-only experimental API. (step_trait)
recently redesigned
Returns the value that would be obtained by taking the predecessor
of self count times. Read more
🔬 This is a nightly-only experimental API. (step_trait)
recently redesigned
Returns the value that would be obtained by taking the successor
of self count times. Read more
🔬 This is a nightly-only experimental API. (step_trait)
recently redesigned
Returns the value that would be obtained by taking the successor
of self count times. Read more
🔬 This is a nightly-only experimental API. (step_trait)
recently redesigned
Returns the value that would be obtained by taking the predecessor
of self count times. Read more
🔬 This is a nightly-only experimental API. (step_trait)
recently redesigned
Returns the value that would be obtained by taking the predecessor
of self count times. Read more
type KeyType = DefPathHashAuto Trait Implementations
impl RefUnwindSafe for CrateNumimpl UnwindSafe for CrateNumBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V