pub struct NamespacePath<'input> {
pub span: Span,
pub initial_segments: Vec<NamespacePathSegment<'input>>,
pub final_segment: IdentToken<'input>,
}Fields§
§span: Span§initial_segments: Vec<NamespacePathSegment<'input>>§final_segment: IdentToken<'input>Implementations§
Source§impl<'input> NamespacePath<'input>
impl<'input> NamespacePath<'input>
pub fn token_metas<'a>( &'a self, ) -> impl Iterator<Item = &'a TokenMetadata<'input>>
Trait Implementations§
Source§impl<'input> Clone for NamespacePath<'input>
impl<'input> Clone for NamespacePath<'input>
Source§fn clone(&self) -> NamespacePath<'input>
fn clone(&self) -> NamespacePath<'input>
Returns a copy 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 moreAuto Trait Implementations§
impl<'input> Freeze for NamespacePath<'input>
impl<'input> RefUnwindSafe for NamespacePath<'input>
impl<'input> Send for NamespacePath<'input>
impl<'input> Sync for NamespacePath<'input>
impl<'input> Unpin for NamespacePath<'input>
impl<'input> UnwindSafe for NamespacePath<'input>
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