pub struct DbgDumpRequest<O: SubstParseContext> {
pub note: Option<String>,
pub content_parsed: Box<O::DbgContent>,
pub content_string: (),
}Fields§
§note: Option<String>§content_parsed: Box<O::DbgContent>§content_string: ()Implementations§
Source§impl<O: ExpansionOutput> DbgDumpRequest<O>
impl<O: ExpansionOutput> DbgDumpRequest<O>
fn expand<'c>(&self, ctx: GeneralContext<'c>, out: &mut O, kw_span: Span)
Source§impl<O: SubstParseContext> DbgDumpRequest<O>
impl<O: SubstParseContext> DbgDumpRequest<O>
pub fn display_heading<'s>( &'s self, ctx: GeneralContext<'s>, ) -> impl Display + 's
Trait Implementations§
Source§impl<O: Debug + SubstParseContext> Debug for DbgDumpRequest<O>where
O::DbgContent: Debug,
impl<O: Debug + SubstParseContext> Debug for DbgDumpRequest<O>where
O::DbgContent: Debug,
Source§impl<O: SubstParseContext> Parse for DbgDumpRequest<O>
impl<O: SubstParseContext> Parse for DbgDumpRequest<O>
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl<O> Freeze for DbgDumpRequest<O>
impl<O> RefUnwindSafe for DbgDumpRequest<O>
impl<O> Send for DbgDumpRequest<O>
impl<O> Sync for DbgDumpRequest<O>
impl<O> Unpin for DbgDumpRequest<O>
impl<O> UnwindSafe for DbgDumpRequest<O>
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<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