pub struct ScopeMap { /* private fields */ }
Implementations
sourceimpl ScopeMap
impl ScopeMap
pub fn new() -> ScopeMap
pub fn create_scope(
&mut self,
ancestor_closure: Option<ScopeId>,
parent: Option<ScopeId>,
typ: ScopeType,
is_module_closure: bool
) -> ScopeId
pub fn iter(&mut self) -> impl Iterator<Item = &ScopeData>
pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut ScopeData>
pub fn len(&self) -> usize
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ScopeMap
impl !Send for ScopeMap
impl !Sync for ScopeMap
impl Unpin for ScopeMap
impl UnwindSafe for ScopeMap
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