[−][src]Struct rustc_middle::dep_graph::DepNodeIndex
Fields
private: u32Implementations
impl DepNodeIndex[src]
pub const INVALID: DepNodeIndex[src]
impl DepNodeIndex[src]
pub const MAX_AS_U32: u32[src]
pub const MAX: DepNodeIndex[src]
pub fn from_usize(value: usize) -> DepNodeIndex[src]
pub fn from_u32(value: u32) -> DepNodeIndex[src]
pub unsafe fn from_u32_unchecked(value: u32) -> DepNodeIndex[src]
pub fn index(self) -> usize[src]
Extracts the value of this index as an integer.
pub fn as_u32(self) -> u32[src]
Extracts the value of this index as a u32.
pub fn as_usize(self) -> usize[src]
Extracts the value of this index as a usize.
Trait Implementations
impl Add<usize> for DepNodeIndex[src]
type Output = DepNodeIndex
The resulting type after applying the + operator.
fn add(self, other: usize) -> DepNodeIndex[src]
impl Clone for DepNodeIndex[src]
fn clone(&self) -> DepNodeIndex[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for DepNodeIndex[src]
impl Debug for DepNodeIndex[src]
impl Eq for DepNodeIndex[src]
impl From<u32> for DepNodeIndex[src]
fn from(value: u32) -> DepNodeIndex[src]
impl From<usize> for DepNodeIndex[src]
fn from(value: usize) -> DepNodeIndex[src]
impl Hash for DepNodeIndex[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, [src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for DepNodeIndex[src]
fn cmp(&self, other: &DepNodeIndex) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<DepNodeIndex> for DepNodeIndex[src]
fn eq(&self, other: &DepNodeIndex) -> bool[src]
fn ne(&self, other: &DepNodeIndex) -> bool[src]
impl PartialOrd<DepNodeIndex> for DepNodeIndex[src]
fn partial_cmp(&self, other: &DepNodeIndex) -> Option<Ordering>[src]
fn lt(&self, other: &DepNodeIndex) -> bool[src]
fn le(&self, other: &DepNodeIndex) -> bool[src]
fn gt(&self, other: &DepNodeIndex) -> bool[src]
fn ge(&self, other: &DepNodeIndex) -> bool[src]
Auto Trait Implementations
impl RefUnwindSafe for DepNodeIndex
impl Send for DepNodeIndex
impl Sync for DepNodeIndex
impl Unpin for DepNodeIndex
impl UnwindSafe for DepNodeIndex
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
T: Copy, [src]
T: Copy,
fn allocate_on(Self, &'a Arena<'tcx>) -> &'a mut T[src]
fn allocate_from_iter(
&'a Arena<'tcx>,
impl IntoIterator<Item = T>
) -> &'a mut [T][src]
&'a Arena<'tcx>,
impl IntoIterator<Item = T>
) -> &'a mut [T]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> MaybeResult<T> for T[src]
type Error = !
fn from(Result<T, <T as MaybeResult<T>>::Error>) -> T[src]
fn to_result(self) -> Result<T, <T as MaybeResult<T>>::Error>[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.