pub struct LetBindingTracker { /* private fields */ }Implementations§
Source§impl LetBindingTracker
impl LetBindingTracker
pub fn new() -> Self
pub fn push(&mut self, binding: LetBinding)
pub fn pop(&mut self) -> Option<LetBinding>
pub fn resolve(&self, name: &str) -> Option<&LetBinding>
pub fn all(&self) -> &[LetBinding]
pub fn clear(&mut self)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for LetBindingTracker
impl Clone for LetBindingTracker
Source§fn clone(&self) -> LetBindingTracker
fn clone(&self) -> LetBindingTracker
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LetBindingTracker
impl Debug for LetBindingTracker
Source§impl Default for LetBindingTracker
impl Default for LetBindingTracker
Source§fn default() -> LetBindingTracker
fn default() -> LetBindingTracker
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LetBindingTracker
impl RefUnwindSafe for LetBindingTracker
impl Send for LetBindingTracker
impl Sync for LetBindingTracker
impl Unpin for LetBindingTracker
impl UnsafeUnpin for LetBindingTracker
impl UnwindSafe for LetBindingTracker
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