pub struct VarDecl {
pub names: Vec<String>,
pub var_type: VarType,
}Expand description
A variable declaration: Type: name1, name2, ...
Fields§
§names: Vec<String>The declared variable names.
var_type: VarTypeThe type of all variables in this declaration.
Trait Implementations§
impl StructuralPartialEq for VarDecl
Auto Trait Implementations§
impl Freeze for VarDecl
impl RefUnwindSafe for VarDecl
impl Send for VarDecl
impl Sync for VarDecl
impl Unpin for VarDecl
impl UnsafeUnpin for VarDecl
impl UnwindSafe for VarDecl
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