Skip to main content

Var

Type Alias Var 

Source
pub type Var = Local;
👎Deprecated: use Local intead

Aliased Type§

pub struct Var {
    pub index: LocalId,
    pub name: Option<String>,
    pub span: Span,
    pub ty: Ty,
}

Fields§

§index: LocalId

Unique index identifying the variable

§name: Option<String>

Variable name - may be None if the variable was introduced by Rust through desugaring.

§span: Span

Span of the variable declaration.

§ty: Ty

The variable type