pub struct VarDeclStmt {
pub decl: VarDecl,
pub init: Option<Expression>,
}Fields§
§decl: VarDecl§init: Option<Expression>Trait Implementations§
Source§impl Clone for VarDeclStmt
impl Clone for VarDeclStmt
Source§fn clone(&self) -> VarDeclStmt
fn clone(&self) -> VarDeclStmt
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 moreSource§impl Debug for VarDeclStmt
impl Debug for VarDeclStmt
Source§impl Serialize for VarDeclStmt
impl Serialize for VarDeclStmt
Auto Trait Implementations§
impl Freeze for VarDeclStmt
impl RefUnwindSafe for VarDeclStmt
impl Send for VarDeclStmt
impl Sync for VarDeclStmt
impl Unpin for VarDeclStmt
impl UnsafeUnpin for VarDeclStmt
impl UnwindSafe for VarDeclStmt
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