pub struct VariableDecl {
pub name: String,
pub var_type: Option<VarType>,
}Fields§
§name: String§var_type: Option<VarType>Trait Implementations§
Source§impl Clone for VariableDecl
impl Clone for VariableDecl
Source§fn clone(&self) -> VariableDecl
fn clone(&self) -> VariableDecl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VariableDecl
impl Debug for VariableDecl
Source§impl PartialEq for VariableDecl
impl PartialEq for VariableDecl
impl StructuralPartialEq for VariableDecl
Auto Trait Implementations§
impl Freeze for VariableDecl
impl RefUnwindSafe for VariableDecl
impl Send for VariableDecl
impl Sync for VariableDecl
impl Unpin for VariableDecl
impl UnwindSafe for VariableDecl
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