pub struct Variable {
pub name: String,
pub definition_span: Span,
pub definition: UnrolledExpression,
}Expand description
A variable created with a let statement.
Fields§
§name: StringVariable’s name
definition_span: SpanVariable’s definition span.
definition: UnrolledExpressionVariable’s definition.
Trait Implementations§
Auto Trait Implementations§
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