pub struct VariableDeclarator {
pub id: Box<Node>,
pub init: Option<Box<Node>>,
pub span: Option<Span>,
}Fields§
§id: Box<Node>§init: Option<Box<Node>>§span: Option<Span>Trait Implementations§
Source§impl Clone for VariableDeclarator
impl Clone for VariableDeclarator
Source§fn clone(&self) -> VariableDeclarator
fn clone(&self) -> VariableDeclarator
Returns a copy 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 VariableDeclarator
impl Debug for VariableDeclarator
Source§impl<'de> Deserialize<'de> for VariableDeclarator
impl<'de> Deserialize<'de> for VariableDeclarator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VariableDeclarator
impl PartialEq for VariableDeclarator
Source§impl Serialize for VariableDeclarator
impl Serialize for VariableDeclarator
impl StructuralPartialEq for VariableDeclarator
Auto Trait Implementations§
impl Freeze for VariableDeclarator
impl RefUnwindSafe for VariableDeclarator
impl Send for VariableDeclarator
impl Sync for VariableDeclarator
impl Unpin 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