Enum rustc::mir::transform::MirSource
[−]
[src]
pub enum MirSource {
Fn(NodeId),
Const(NodeId),
Static(NodeId, Mutability),
Promoted(NodeId, usize),
}Unstable (
rustc_private)Where a specific Mir comes from.
Variants
Fn(NodeId)Unstable (
rustc_private)Functions and methods.
Const(NodeId)Unstable (
rustc_private)Constants and associated constants.
Static(NodeId, Mutability)Unstable (
rustc_private)Initializer of a static item.
Promoted(NodeId, usize)Unstable (
rustc_private)Promoted rvalues within a function.
Methods
impl<'a, 'tcx> MirSource[src]
Trait Implementations
Derived Implementations
impl Clone for MirSource[src]
fn clone(&self) -> MirSource
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