pub struct VariableDeclarator<'tree> {
pub span: Span,
pub dimensions: Option<Dimensions<'tree>>,
pub name: VariableDeclaratorName<'tree>,
pub value: Option<VariableDeclaratorValue<'tree>>,
}Fields§
§span: Span§dimensions: Option<Dimensions<'tree>>§name: VariableDeclaratorName<'tree>§value: Option<VariableDeclaratorValue<'tree>>Trait Implementations§
Source§impl<'tree> Clone for VariableDeclarator<'tree>
impl<'tree> Clone for VariableDeclarator<'tree>
Source§fn clone(&self) -> VariableDeclarator<'tree>
fn clone(&self) -> VariableDeclarator<'tree>
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<'tree> Debug for VariableDeclarator<'tree>
impl<'tree> Debug for VariableDeclarator<'tree>
Source§impl<'tree> FromNode<'tree> for VariableDeclarator<'tree>
impl<'tree> FromNode<'tree> for VariableDeclarator<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for VariableDeclarator<'tree>
impl<'tree> RefUnwindSafe for VariableDeclarator<'tree>
impl<'tree> Send for VariableDeclarator<'tree>
impl<'tree> Sync for VariableDeclarator<'tree>
impl<'tree> Unpin for VariableDeclarator<'tree>
impl<'tree> UnsafeUnpin for VariableDeclarator<'tree>
impl<'tree> UnwindSafe for VariableDeclarator<'tree>
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