Struct rustc::mir::BasicBlock [−]
pub struct BasicBlock(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?
Methods
impl BasicBlock
[src]
impl BasicBlock
pub fn start_location(self) -> Location
[src]
pub fn start_location(self) -> Location
🔬 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<'a> HashStable<StableHashingContext<'a>> for BasicBlock
[src]
impl<'a> HashStable<StableHashingContext<'a>> for BasicBlock
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)
[src]
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)
🔬 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<'tcx> Index<BasicBlock> for Mir<'tcx>
[src]
impl<'tcx> Index<BasicBlock> for Mir<'tcx>
type Output = BasicBlockData<'tcx>
The returned type after indexing.
fn index(&self, index: BasicBlock) -> &BasicBlockData<'tcx>
[src]
fn index(&self, index: BasicBlock) -> &BasicBlockData<'tcx>
Performs the indexing (container[index]
) operation.
impl<'tcx> IndexMut<BasicBlock> for Mir<'tcx>
[src]
impl<'tcx> IndexMut<BasicBlock> for Mir<'tcx>
fn index_mut(&mut self, index: BasicBlock) -> &mut BasicBlockData<'tcx>
[src]
fn index_mut(&mut self, index: BasicBlock) -> &mut BasicBlockData<'tcx>
Performs the mutable indexing (container[index]
) operation.
impl Copy for BasicBlock
impl Copy for BasicBlock
impl Clone for BasicBlock
impl Clone for BasicBlock
fn clone(&self) -> BasicBlock
fn clone(&self) -> BasicBlock
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 BasicBlock
impl PartialEq for BasicBlock
fn eq(&self, other: &BasicBlock) -> bool
fn eq(&self, other: &BasicBlock) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BasicBlock) -> bool
fn ne(&self, other: &BasicBlock) -> bool
This method tests for !=
.
impl Eq for BasicBlock
impl Eq for BasicBlock
fn assert_receiver_is_total_eq(&self)
fn assert_receiver_is_total_eq(&self)
impl Hash for BasicBlock
impl Hash for BasicBlock
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 BasicBlock
impl PartialOrd for BasicBlock
fn partial_cmp(&self, other: &BasicBlock) -> Option<Ordering>
fn partial_cmp(&self, other: &BasicBlock) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &BasicBlock) -> bool
fn lt(&self, other: &BasicBlock) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &BasicBlock) -> bool
fn le(&self, other: &BasicBlock) -> 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: &BasicBlock) -> bool
fn gt(&self, other: &BasicBlock) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &BasicBlock) -> bool
fn ge(&self, other: &BasicBlock) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for BasicBlock
impl Ord for BasicBlock
fn cmp(&self, other: &BasicBlock) -> Ordering
fn cmp(&self, other: &BasicBlock) -> 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 BasicBlock
impl Decodable for BasicBlock
fn decode<__D: Decoder>(d: &mut __D) -> Result<BasicBlock, __D::Error>
fn decode<__D: Decoder>(d: &mut __D) -> Result<BasicBlock, __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 BasicBlock
impl Encodable for BasicBlock
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 BasicBlock
impl Idx for BasicBlock
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?
impl Debug for BasicBlock
impl Debug for BasicBlock
Auto Trait Implementations
impl Send for BasicBlock
impl Send for BasicBlock
impl Sync for BasicBlock
impl Sync for BasicBlock