pub struct LexDependencies<'s, W> { /* private fields */ }Implementations§
Source§impl<'s, W: HandleWarning<'s>> LexDependencies<'s, W>
impl<'s, W: HandleWarning<'s>> LexDependencies<'s, W>
pub fn new(handle_warning: W, mode: Mode) -> Self
pub fn dependency_context(&self) -> &DependencyContext<'s>
pub fn into_dependency_context(self) -> DependencyContext<'s>
Sourcepub fn lex_streaming(&mut self, source: &mut Lexer<'s, DashedIdentCollector>)
pub fn lex_streaming(&mut self, source: &mut Lexer<'s, DashedIdentCollector>)
Drive dependency extraction from the forward token stream.
Trait Implementations§
Auto Trait Implementations§
impl<'s, W> Freeze for LexDependencies<'s, W>where
W: Freeze,
impl<'s, W> RefUnwindSafe for LexDependencies<'s, W>where
W: RefUnwindSafe,
impl<'s, W> Send for LexDependencies<'s, W>where
W: Send,
impl<'s, W> Sync for LexDependencies<'s, W>where
W: Sync,
impl<'s, W> Unpin for LexDependencies<'s, W>where
W: Unpin,
impl<'s, W> UnsafeUnpin for LexDependencies<'s, W>where
W: UnsafeUnpin,
impl<'s, W> UnwindSafe for LexDependencies<'s, W>where
W: UnwindSafe,
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