Struct rustc::mir::repr::Terminator
[−]
[src]
pub struct Terminator<'tcx> { pub span: Span, pub scope: ScopeId, pub kind: TerminatorKind<'tcx>, }
Unstable (
rustc_private
)Fields
span: Span
Unstable (
rustc_private
)scope: ScopeId
Unstable (
rustc_private
)kind: TerminatorKind<'tcx>
Unstable (
rustc_private
)Methods
impl<'tcx> Terminator<'tcx>
[src]
fn successors(&self) -> Cow<[BasicBlock]>
fn successors_mut(&mut self) -> Vec<&mut BasicBlock>
Trait Implementations
Derived Implementations
impl<'tcx> Decodable for Terminator<'tcx>
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Terminator<'tcx>, __D::Error>
impl<'tcx> Encodable for Terminator<'tcx>
[src]
impl<'tcx> Debug for Terminator<'tcx>
[src]
impl<'tcx> Clone for Terminator<'tcx>
[src]
fn clone(&self) -> Terminator<'tcx>
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