pub struct ElseClause {
pub keyword: _ElseKeyword,
pub value: Box<Expr>,
}Fields§
§keyword: _ElseKeyword§value: Box<Expr>Implementations§
Source§impl ElseClause
impl ElseClause
pub fn new(keyword: _ElseKeyword, value: Expr) -> Self
Trait Implementations§
Source§impl Debug for ElseClause
impl Debug for ElseClause
Source§impl From<ElseClause> for TryFallback
impl From<ElseClause> for TryFallback
Source§fn from(value: ElseClause) -> Self
fn from(value: ElseClause) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for ElseClause
impl PrettyTree for ElseClause
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for ElseClausewhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for ElseClausewhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for ElseClause
impl ToTokens for ElseClause
Auto Trait Implementations§
impl Freeze for ElseClause
impl RefUnwindSafe for ElseClause
impl Send for ElseClause
impl Sync for ElseClause
impl Unpin for ElseClause
impl UnsafeUnpin for ElseClause
impl UnwindSafe for ElseClause
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