pub struct VarDefinitionStatement<'s> {
pub type_: Type<'s>,
pub definitions: SeparatedListTrailing1<'s, VarDefinition<'s>>,
}Expand description
A variable definition statement.
Grammar: Type SeparatedListTrailing1<VarDefinition ,>
Fields§
§type_: Type<'s>§definitions: SeparatedListTrailing1<'s, VarDefinition<'s>>Trait Implementations§
Source§impl<'s> Clone for VarDefinitionStatement<'s>
impl<'s> Clone for VarDefinitionStatement<'s>
Source§fn clone(&self) -> VarDefinitionStatement<'s>
fn clone(&self) -> VarDefinitionStatement<'s>
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 moreAuto Trait Implementations§
impl<'s> Freeze for VarDefinitionStatement<'s>
impl<'s> RefUnwindSafe for VarDefinitionStatement<'s>
impl<'s> Send for VarDefinitionStatement<'s>
impl<'s> Sync for VarDefinitionStatement<'s>
impl<'s> Unpin for VarDefinitionStatement<'s>
impl<'s> UnwindSafe for VarDefinitionStatement<'s>
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