Struct rustc_mir::build::matches::Candidate [−][src]
pub struct Candidate<'pat, 'tcx: 'pat> { span: Span, match_pairs: Vec<MatchPair<'pat, 'tcx>>, bindings: Vec<Binding<'tcx>>, guard: Option<ExprRef<'tcx>>, arm_index: usize, pre_binding_block: BasicBlock, next_candidate_pre_binding_block: BasicBlock, }
🔬 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?
Fields
span: Span
🔬 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?
match_pairs: Vec<MatchPair<'pat, 'tcx>>
🔬 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?
bindings: Vec<Binding<'tcx>>
🔬 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?
guard: Option<ExprRef<'tcx>>
🔬 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?
arm_index: 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?
pre_binding_block: BasicBlock
🔬 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?
next_candidate_pre_binding_block: BasicBlock
🔬 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<'pat, 'tcx: 'pat> Clone for Candidate<'pat, 'tcx>
[src]
impl<'pat, 'tcx: 'pat> Clone for Candidate<'pat, 'tcx>
fn clone(&self) -> Candidate<'pat, 'tcx>
[src]
fn clone(&self) -> Candidate<'pat, 'tcx>
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<'pat, 'tcx: 'pat> Debug for Candidate<'pat, 'tcx>
[src]
impl<'pat, 'tcx: 'pat> Debug for Candidate<'pat, 'tcx>