struct BindingList {
map: FxHashMap<(Name, HygieneId), BindingId>,
is_used: FxHashMap<BindingId, bool>,
reject_new: bool,
}Fields§
§map: FxHashMap<(Name, HygieneId), BindingId>§is_used: FxHashMap<BindingId, bool>§reject_new: boolImplementations§
Source§impl BindingList
impl BindingList
fn find( &mut self, ec: &mut ExprCollector<'_>, name: Name, hygiene: HygieneId, mode: BindingAnnotation, ) -> BindingId
fn check_is_used(&mut self, ec: &mut ExprCollector<'_>, id: BindingId)
Trait Implementations§
Source§impl Debug for BindingList
impl Debug for BindingList
Source§impl Default for BindingList
impl Default for BindingList
Source§fn default() -> BindingList
fn default() -> BindingList
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BindingList
impl RefUnwindSafe for BindingList
impl Send for BindingList
impl Sync for BindingList
impl Unpin for BindingList
impl UnsafeUnpin for BindingList
impl UnwindSafe for BindingList
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more