pub enum PsTypeIdentifierScope<'a> {
LocalScope(Metadata<'a>, Metadata<'a>),
ClassScope(ClassScope<'a>),
PackageScope(PackageScope<'a>),
}Variants§
Implementations§
Source§impl<'a: 'b, 'b> PsTypeIdentifierScope<'a>
impl<'a: 'b, 'b> PsTypeIdentifierScope<'a>
Sourcepub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
pub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
Iterate across the PsTypeIdentifierScope and its children
Trait Implementations§
Source§impl<'a> Clone for PsTypeIdentifierScope<'a>
impl<'a> Clone for PsTypeIdentifierScope<'a>
Source§fn clone(&self) -> PsTypeIdentifierScope<'a>
fn clone(&self) -> PsTypeIdentifierScope<'a>
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<'a> Debug for PsTypeIdentifierScope<'a>
impl<'a> Debug for PsTypeIdentifierScope<'a>
Source§impl<'a: 'b, 'b> From<&'b PsTypeIdentifierScope<'a>> for Node<'a, 'b>
impl<'a: 'b, 'b> From<&'b PsTypeIdentifierScope<'a>> for Node<'a, 'b>
Source§fn from(value: &'b PsTypeIdentifierScope<'a>) -> Self
fn from(value: &'b PsTypeIdentifierScope<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a: 'b, 'b> IntoIterator for &'b PsTypeIdentifierScope<'a>
impl<'a: 'b, 'b> IntoIterator for &'b PsTypeIdentifierScope<'a>
Source§impl<'a: 'b, 'b> Nodes<'a, 'b> for PsTypeIdentifierScope<'a>
impl<'a: 'b, 'b> Nodes<'a, 'b> for PsTypeIdentifierScope<'a>
Source§impl<'a> PartialEq for PsTypeIdentifierScope<'a>
impl<'a> PartialEq for PsTypeIdentifierScope<'a>
impl<'a> StructuralPartialEq for PsTypeIdentifierScope<'a>
Auto Trait Implementations§
impl<'a> Freeze for PsTypeIdentifierScope<'a>
impl<'a> RefUnwindSafe for PsTypeIdentifierScope<'a>
impl<'a> Send for PsTypeIdentifierScope<'a>
impl<'a> Sync for PsTypeIdentifierScope<'a>
impl<'a> Unpin for PsTypeIdentifierScope<'a>
impl<'a> UnsafeUnpin for PsTypeIdentifierScope<'a>
impl<'a> UnwindSafe for PsTypeIdentifierScope<'a>
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