pub struct VariableScope {
pub name: String,
pub bound_in: ScopeType,
pub type_annotation: Option<TypeAnnotation>,
}Expand description
Scope information for a variable
Fields§
§name: String§bound_in: ScopeType§type_annotation: Option<TypeAnnotation>Trait Implementations§
Source§impl Clone for VariableScope
impl Clone for VariableScope
Auto Trait Implementations§
impl Freeze for VariableScope
impl RefUnwindSafe for VariableScope
impl Send for VariableScope
impl Sync for VariableScope
impl Unpin for VariableScope
impl UnsafeUnpin for VariableScope
impl UnwindSafe for VariableScope
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