pub struct ExprDebugShield {
pub keyword: _Shield,
pub value: Option<Box<Expr>>,
}Expand description
Struct generated by strutuct! for ExprDebugShield.
Fields§
§keyword: _ShieldField ExprDebugShield::keyword generated by strutuct!.
value: Option<Box<Expr>>Field ExprDebugShield::value generated by strutuct!.
Implementations§
Trait Implementations§
Source§impl Debug for ExprDebugShield
impl Debug for ExprDebugShield
Source§impl From<ExprDebugShield> for Component
impl From<ExprDebugShield> for Component
Source§fn from(value: ExprDebugShield) -> Self
fn from(value: ExprDebugShield) -> Self
Converts to this type from the input type.
Source§impl From<ExprDebugShield> for Expr
impl From<ExprDebugShield> for Expr
Source§fn from(value: ExprDebugShield) -> Self
fn from(value: ExprDebugShield) -> Self
Converts to this type from the input type.
Source§impl From<ExprDebugShield> for ExprDebug
impl From<ExprDebugShield> for ExprDebug
Source§fn from(value: ExprDebugShield) -> Self
fn from(value: ExprDebugShield) -> Self
Converts to this type from the input type.
Source§impl From<ExprDebugShield> for PackedContent
impl From<ExprDebugShield> for PackedContent
Source§fn from(value: ExprDebugShield) -> Self
fn from(value: ExprDebugShield) -> Self
Converts to this type from the input type.
Source§impl Lex for ExprDebugShield
impl Lex for ExprDebugShield
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl<N> Migrate<N> for ExprDebugShieldwhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprDebugShieldwhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprDebugShield
impl PrettyTree for ExprDebugShield
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Auto Trait Implementations§
impl Freeze for ExprDebugShield
impl RefUnwindSafe for ExprDebugShield
impl Send for ExprDebugShield
impl Sync for ExprDebugShield
impl Unpin for ExprDebugShield
impl UnsafeUnpin for ExprDebugShield
impl UnwindSafe for ExprDebugShield
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