pub struct VarDecl { /* private fields */ }Expand description
Implementations§
Source§impl VarDecl
impl VarDecl
pub fn var_token(&self) -> Option<SyntaxToken>
pub fn const_token(&self) -> Option<SyntaxToken>
pub fn declared(&self) -> AstChildren<Declarator> ⓘ
pub fn semicolon_token(&self) -> Option<SyntaxToken>
Trait Implementations§
impl Eq for VarDecl
impl StructuralPartialEq for VarDecl
Auto Trait Implementations§
impl Freeze for VarDecl
impl RefUnwindSafe for VarDecl
impl Send for VarDecl
impl Sync for VarDecl
impl Unpin for VarDecl
impl UnwindSafe for VarDecl
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