Struct js_source_scopes::ScopeName
source · pub struct ScopeName { /* private fields */ }
Expand description
An abstract scope name which can consist of multiple NameComponent
s.
Implementations
sourceimpl ScopeName
impl ScopeName
sourcepub fn components(&self) -> impl Iterator<Item = &NameComponent> + '_
pub fn components(&self) -> impl Iterator<Item = &NameComponent> + '_
An Iterator over the individual components of this scope name.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ScopeName
impl Send for ScopeName
impl Sync for ScopeName
impl Unpin for ScopeName
impl UnwindSafe for ScopeName
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