Skip to main content

BoundNames

Trait BoundNames 

Source
pub trait BoundNames<'a> {
    // Required method
    fn bound_names<F: FnMut(&BindingIdentifier<'a>)>(&self, f: &mut F);
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a> BoundNames<'a> for BindingPattern<'a>

Source§

impl<'a> BoundNames<'a> for Declaration<'a>

Source§

impl<'a> BoundNames<'a> for ModuleDeclaration<'a>

Source§

impl<'a> BoundNames<'a> for ArrayPattern<'a>

Source§

impl<'a> BoundNames<'a> for AssignmentPattern<'a>

Source§

impl<'a> BoundNames<'a> for BindingIdentifier<'a>

Source§

fn bound_names<F: FnMut(&Self)>(&self, f: &mut F)

Source§

impl<'a> BoundNames<'a> for BindingRestElement<'a>

Source§

impl<'a> BoundNames<'a> for Class<'a>

Source§

impl<'a> BoundNames<'a> for ExportNamedDeclaration<'a>

Source§

impl<'a> BoundNames<'a> for FormalParameter<'a>

Source§

impl<'a> BoundNames<'a> for FormalParameters<'a>

Source§

impl<'a> BoundNames<'a> for Function<'a>

Source§

impl<'a> BoundNames<'a> for ImportDeclaration<'a>

Source§

impl<'a> BoundNames<'a> for ObjectPattern<'a>

Source§

impl<'a> BoundNames<'a> for VariableDeclaration<'a>

Implementors§