pub struct VariableDeclarator {
pub id: BindingPattern,
pub init: Option<Expression>,
}Fields§
§id: BindingPattern§init: Option<Expression>Trait Implementations§
Source§impl Clone for VariableDeclarator
impl Clone for VariableDeclarator
Source§fn clone(&self) -> VariableDeclarator
fn clone(&self) -> VariableDeclarator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for VariableDeclarator
impl RefUnwindSafe for VariableDeclarator
impl Send for VariableDeclarator
impl Sync for VariableDeclarator
impl Unpin for VariableDeclarator
impl UnsafeUnpin for VariableDeclarator
impl UnwindSafe for VariableDeclarator
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