pub struct VarDeclaration<'a, 'key> {
pub qualifiers: &'a mut TypeQualifiers<'key>,
pub ty: Handle<Type>,
pub name: Option<String>,
pub init: Option<Handle<Expression>>,
pub meta: Span,
}
Fields§
§qualifiers: &'a mut TypeQualifiers<'key>
§ty: Handle<Type>
§name: Option<String>
§init: Option<Handle<Expression>>
§meta: Span
Auto Trait Implementations§
impl<'a, 'key> Freeze for VarDeclaration<'a, 'key>
impl<'a, 'key> RefUnwindSafe for VarDeclaration<'a, 'key>
impl<'a, 'key> Send for VarDeclaration<'a, 'key>
impl<'a, 'key> Sync for VarDeclaration<'a, 'key>
impl<'a, 'key> Unpin for VarDeclaration<'a, 'key>
impl<'a, 'key> !UnwindSafe for VarDeclaration<'a, 'key>
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