pub struct ScopeAnalyzer(/* private fields */);
Implementations§
Source§impl ScopeAnalyzer
impl ScopeAnalyzer
pub fn new() -> Self
pub fn into_inner(self) -> ScopeTree
Trait Implementations§
Source§impl Default for ScopeAnalyzer
impl Default for ScopeAnalyzer
Auto Trait Implementations§
impl Freeze for ScopeAnalyzer
impl !RefUnwindSafe for ScopeAnalyzer
impl Send for ScopeAnalyzer
impl !Sync for ScopeAnalyzer
impl Unpin for ScopeAnalyzer
impl UnwindSafe for ScopeAnalyzer
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
Source§impl<C, T, E> CanErase<C> for Twhere
E: Into<ReportMessage>,
T: Macro<Error = E> + 'static,
C: Context,
AnyNode: ConvertibleToRef<<T as Macro>::Node>,
impl<C, T, E> CanErase<C> for Twhere
E: Into<ReportMessage>,
T: Macro<Error = E> + 'static,
C: Context,
AnyNode: ConvertibleToRef<<T as Macro>::Node>,
Source§impl<T, U> ConvertibleToMut<U> for T
impl<T, U> ConvertibleToMut<U> for T
fn try_as_mut(&mut self) -> Option<&mut U>
Source§impl<T, U> ConvertibleToRef<U> for T
impl<T, U> ConvertibleToRef<U> for T
fn try_as_ref(&self) -> Option<&U>
Source§impl<C, T, E> ErasedMacro<C> for Twhere
E: Into<ReportMessage>,
C: Context,
T: Macro<Error = E> + 'static,
AnyNode: ConvertibleToRef<<T as Macro>::Node>,
impl<C, T, E> ErasedMacro<C> for Twhere
E: Into<ReportMessage>,
C: Context,
T: Macro<Error = E> + 'static,
AnyNode: ConvertibleToRef<<T as Macro>::Node>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more