Struct rustc_data_structures::obligation_forest::node_index::NodeIndex [−][src]
pub struct NodeIndex { index: NonZeroU32, }
🔬 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?
Fields
index: NonZeroU32
🔬 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?
Methods
impl NodeIndex
[src]
impl NodeIndex
pub fn new(value: usize) -> NodeIndex
[src]
pub fn new(value: usize) -> NodeIndex
🔬 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?
pub fn get(self) -> usize
[src]
pub fn get(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?
Trait Implementations
impl Copy for NodeIndex
[src]
impl Copy for NodeIndex
impl Clone for NodeIndex
[src]
impl Clone for NodeIndex
fn clone(&self) -> NodeIndex
[src]
fn clone(&self) -> NodeIndex
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 Debug for NodeIndex
[src]
impl Debug for NodeIndex
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for NodeIndex
[src]
impl PartialEq for NodeIndex
fn eq(&self, other: &NodeIndex) -> bool
[src]
fn eq(&self, other: &NodeIndex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NodeIndex) -> bool
[src]
fn ne(&self, other: &NodeIndex) -> bool
This method tests for !=
.
impl Eq for NodeIndex
[src]
impl Eq for NodeIndex
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)