Struct rustc::dep_graph::serialized::SerializedDepNodeIndex [−]
pub struct SerializedDepNodeIndex(u32);
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl Copy for SerializedDepNodeIndex
impl Copy for SerializedDepNodeIndex
impl Clone for SerializedDepNodeIndex
impl Clone for SerializedDepNodeIndex
fn clone(&self) -> SerializedDepNodeIndex
fn clone(&self) -> SerializedDepNodeIndex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for SerializedDepNodeIndex
impl PartialEq for SerializedDepNodeIndex
fn eq(&self, other: &SerializedDepNodeIndex) -> bool
fn eq(&self, other: &SerializedDepNodeIndex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SerializedDepNodeIndex) -> bool
fn ne(&self, other: &SerializedDepNodeIndex) -> bool
This method tests for !=
.
impl Eq for SerializedDepNodeIndex
impl Eq for SerializedDepNodeIndex
fn assert_receiver_is_total_eq(&self)
fn assert_receiver_is_total_eq(&self)
impl Hash for SerializedDepNodeIndex
impl Hash for SerializedDepNodeIndex
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialOrd for SerializedDepNodeIndex
impl PartialOrd for SerializedDepNodeIndex
fn partial_cmp(&self, other: &SerializedDepNodeIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &SerializedDepNodeIndex) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &SerializedDepNodeIndex) -> bool
fn lt(&self, other: &SerializedDepNodeIndex) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &SerializedDepNodeIndex) -> bool
fn le(&self, other: &SerializedDepNodeIndex) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &SerializedDepNodeIndex) -> bool
fn gt(&self, other: &SerializedDepNodeIndex) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &SerializedDepNodeIndex) -> bool
fn ge(&self, other: &SerializedDepNodeIndex) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for SerializedDepNodeIndex
impl Ord for SerializedDepNodeIndex
fn cmp(&self, other: &SerializedDepNodeIndex) -> Ordering
fn cmp(&self, other: &SerializedDepNodeIndex) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Decodable for SerializedDepNodeIndex
impl Decodable for SerializedDepNodeIndex
fn decode<__D: Decoder>(
d: &mut __D
) -> Result<SerializedDepNodeIndex, __D::Error>
fn decode<__D: Decoder>(
d: &mut __D
) -> Result<SerializedDepNodeIndex, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Encodable for SerializedDepNodeIndex
impl Encodable for SerializedDepNodeIndex
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Idx for SerializedDepNodeIndex
impl Idx for SerializedDepNodeIndex
fn new(value: usize) -> Self
fn new(value: usize) -> Self
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn index(self) -> usize
fn index(self) -> usize
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn increment_by(&mut self, amount: usize)
[src]
fn increment_by(&mut self, amount: usize)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Step for SerializedDepNodeIndex
impl Step for SerializedDepNodeIndex
fn steps_between(start: &Self, end: &Self) -> Option<usize>
fn steps_between(start: &Self, end: &Self) -> Option<usize>
🔬 This is a nightly-only experimental API. (step_trait
)
likely to be replaced by finer-grained traits
Returns the number of steps between two step objects. The count is inclusive of start
and exclusive of end
. Read more
fn replace_one(&mut self) -> Self
fn replace_one(&mut self) -> Self
🔬 This is a nightly-only experimental API. (step_trait
)
likely to be replaced by finer-grained traits
Replaces this step with 1
, returning itself
fn replace_zero(&mut self) -> Self
fn replace_zero(&mut self) -> Self
🔬 This is a nightly-only experimental API. (step_trait
)
likely to be replaced by finer-grained traits
Replaces this step with 0
, returning itself
fn add_one(&self) -> Self
fn add_one(&self) -> Self
🔬 This is a nightly-only experimental API. (step_trait
)
likely to be replaced by finer-grained traits
Adds one to this step, returning the result
fn sub_one(&self) -> Self
fn sub_one(&self) -> Self
🔬 This is a nightly-only experimental API. (step_trait
)
likely to be replaced by finer-grained traits
Subtracts one to this step, returning the result
fn add_usize(&self, u: usize) -> Option<Self>
fn add_usize(&self, u: usize) -> Option<Self>
🔬 This is a nightly-only experimental API. (step_trait
)
likely to be replaced by finer-grained traits
Add an usize, returning None on overflow
impl Debug for SerializedDepNodeIndex
impl Debug for SerializedDepNodeIndex
Auto Trait Implementations
impl Send for SerializedDepNodeIndex
impl Send for SerializedDepNodeIndex
impl Sync for SerializedDepNodeIndex
impl Sync for SerializedDepNodeIndex