pub struct EmitBindings { /* private fields */ }Implementations§
Source§impl EmitBindings
impl EmitBindings
pub fn record( &mut self, id: AstBindingId, unused: bool, mutation: Option<BindingMutation>, )
pub fn is_unused_binding(&self, pattern: &Pattern) -> bool
pub fn is_unused_rest_binding(&self, rest: &RestPattern) -> bool
pub fn is_mutated(&self, id: AstBindingId) -> bool
pub fn is_alias_mutated(&self, id: AstBindingId) -> bool
Trait Implementations§
Source§impl Clone for EmitBindings
impl Clone for EmitBindings
Source§impl Debug for EmitBindings
impl Debug for EmitBindings
Auto Trait Implementations§
impl Freeze for EmitBindings
impl RefUnwindSafe for EmitBindings
impl Send for EmitBindings
impl Sync for EmitBindings
impl Unpin for EmitBindings
impl UnsafeUnpin for EmitBindings
impl UnwindSafe for EmitBindings
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