pub struct AmbientFunctionHandler<'a, 'b> {
pub last_ambient_name: Option<RIdent>,
pub errors: &'a mut Storage<'b>,
}
Expand description
Handles
// This is invalid
foo();
bar();
bar() {}
Fields
last_ambient_name: Option<RIdent>
errors: &'a mut Storage<'b>
Implementations
sourceimpl AmbientFunctionHandler<'_, '_>
impl AmbientFunctionHandler<'_, '_>
pub fn handle_missing_impl(&mut self)
Trait Implementations
sourceimpl Visit<RFnDecl> for AmbientFunctionHandler<'_, '_>
impl Visit<RFnDecl> for AmbientFunctionHandler<'_, '_>
sourceimpl Visit<RTsModuleDecl> for AmbientFunctionHandler<'_, '_>
impl Visit<RTsModuleDecl> for AmbientFunctionHandler<'_, '_>
fn visit(&mut self, decl: &RTsModuleDecl)
sourceimpl Visit<RTsNamespaceDecl> for AmbientFunctionHandler<'_, '_>
impl Visit<RTsNamespaceDecl> for AmbientFunctionHandler<'_, '_>
fn visit(&mut self, value: &RTsNamespaceDecl)
Auto Trait Implementations
impl<'a, 'b> !RefUnwindSafe for AmbientFunctionHandler<'a, 'b>
impl<'a, 'b> Send for AmbientFunctionHandler<'a, 'b>
impl<'a, 'b> Sync for AmbientFunctionHandler<'a, 'b>
impl<'a, 'b> Unpin for AmbientFunctionHandler<'a, 'b>where
'b: 'a,
impl<'a, 'b> !UnwindSafe for AmbientFunctionHandler<'a, 'b>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more