pub struct ThenClause {
pub keyword: _ThenKeyword,
pub value: Box<Expr>,
}Fields§
§keyword: _ThenKeyword§value: Box<Expr>Implementations§
Source§impl ThenClause
impl ThenClause
pub fn new(keyword: _ThenKeyword, value: Expr) -> Self
Trait Implementations§
Source§impl Debug for ThenClause
impl Debug for ThenClause
Source§impl PrettyTree for ThenClause
impl PrettyTree for ThenClause
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 ThenClausewhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for ThenClausewhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for ThenClause
impl ToTokens for ThenClause
Auto Trait Implementations§
impl Freeze for ThenClause
impl RefUnwindSafe for ThenClause
impl Send for ThenClause
impl Sync for ThenClause
impl Unpin for ThenClause
impl UnsafeUnpin for ThenClause
impl UnwindSafe for ThenClause
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