pub struct Variable {
pub name: Node,
pub assigned_name: String,
pub resolved_type: Type,
pub mutable_node: Option<Node>,
pub scope_index: usize,
pub variable_index: usize,
pub unique_id_within_function: usize,
pub is_unused: bool,
}
Fields§
§name: Node
§assigned_name: String
§resolved_type: Type
§mutable_node: Option<Node>
§scope_index: usize
§variable_index: usize
§unique_id_within_function: usize
§is_unused: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Variable
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more