Struct rustc_save_analysis::VariableRefData [] [src]

pub struct VariableRefData {
    pub name: String,
    pub span: Span,
    pub scope: NodeId,
    pub ref_id: DefId,
}
Unstable (rustc_private)

Data for the use of some item (e.g., the use of a local variable, which will refer to that variables declaration (by ref_id)).

Fields

name: String
Unstable (rustc_private)
span: Span
Unstable (rustc_private)
scope: NodeId
Unstable (rustc_private)
ref_id: DefId
Unstable (rustc_private)

Trait Implementations

impl Lower for VariableRefData
[src]

type Target = VariableRefData

fn lower(self, tcx: TyCtxt) -> VariableRefData

Derived Implementations

impl Encodable for VariableRefData
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Debug for VariableRefData
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.