Enum rustc::hir::def_id::DefIndexAddressSpace [−][src]
pub enum DefIndexAddressSpace { Low, High, }
🔬 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?
Variants
Low
🔬 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?
High
🔬 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 DefIndexAddressSpace
[src]
impl DefIndexAddressSpace
pub fn index(&self) -> usize
[src]
pub 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?
Trait Implementations
impl Copy for DefIndexAddressSpace
[src]
impl Copy for DefIndexAddressSpace
impl Clone for DefIndexAddressSpace
[src]
impl Clone for DefIndexAddressSpace
fn clone(&self) -> DefIndexAddressSpace
[src]
fn clone(&self) -> DefIndexAddressSpace
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for DefIndexAddressSpace
[src]
impl Eq for DefIndexAddressSpace
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl PartialEq for DefIndexAddressSpace
[src]
impl PartialEq for DefIndexAddressSpace
fn eq(&self, other: &DefIndexAddressSpace) -> bool
[src]
fn eq(&self, other: &DefIndexAddressSpace) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for DefIndexAddressSpace
[src]
impl Hash for DefIndexAddressSpace
Auto Trait Implementations
impl Send for DefIndexAddressSpace
impl Send for DefIndexAddressSpace
impl Sync for DefIndexAddressSpace
impl Sync for DefIndexAddressSpace