Struct rustc::mir::repr::BasicBlock
[−]
[src]
pub struct BasicBlock(_);
Unstable (
rustc_private)The index of a particular basic block. The index is into the basic_blocks
list of the Mir.
(We use a u32 internally just to save memory.)
Methods
impl BasicBlock[src]
fn new(index: usize) -> BasicBlock
fn index(self) -> usize
Unstable (
rustc_private)Extract the index.
Trait Implementations
impl Debug for BasicBlock[src]
Derived Implementations
impl Decodable for BasicBlock[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<BasicBlock, __D::Error>
impl Encodable for BasicBlock[src]
impl Hash for BasicBlock[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Eq for BasicBlock[src]
impl PartialEq for BasicBlock[src]
fn eq(&self, __arg_0: &BasicBlock) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &BasicBlock) -> bool
This method tests for !=.
impl Clone for BasicBlock[src]
fn clone(&self) -> BasicBlock
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more