Struct rustc_trans::trans::_match::BindingInfoExperimental [-]  [+] [src]

pub struct BindingInfo<'tcx> {
    pub llmatch: ValueRef,
    pub trmode: TransBindingMode,
    pub id: NodeId,
    pub span: Span,
    pub ty: Ty<'tcx>,
}

Information about a pattern binding: - llmatch is a pointer to a stack slot. The stack slot contains a pointer into the value being matched. Hence, llmatch has type T** where T is the value being matched. - trmode is the trans binding mode - id is the node id of the binding - ty is the Rust type of the binding

Fields

llmatch
trmode
id
span
ty

Trait Implementations

Derived Implementations

impl<'tcx> Clone for BindingInfo<'tcx>

fn clone(&self) -> BindingInfo<'tcx>

fn clone_from(&mut self, source: &Self)