pub enum ConditionalElse<'tree> {
Expression(Box<Expression<'tree>>),
Signature(Box<Signature<'tree>>),
}Variants§
Trait Implementations§
Source§impl<'tree> Clone for ConditionalElse<'tree>
impl<'tree> Clone for ConditionalElse<'tree>
Source§fn clone(&self) -> ConditionalElse<'tree>
fn clone(&self) -> ConditionalElse<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for ConditionalElse<'tree>
impl<'tree> Debug for ConditionalElse<'tree>
Source§impl<'tree> FromNode<'tree> for ConditionalElse<'tree>
impl<'tree> FromNode<'tree> for ConditionalElse<'tree>
Source§impl<'tree> PartialEq for ConditionalElse<'tree>
impl<'tree> PartialEq for ConditionalElse<'tree>
Source§impl Spanned for ConditionalElse<'_>
impl Spanned for ConditionalElse<'_>
impl<'tree> Eq for ConditionalElse<'tree>
impl<'tree> StructuralPartialEq for ConditionalElse<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ConditionalElse<'tree>
impl<'tree> RefUnwindSafe for ConditionalElse<'tree>
impl<'tree> Send for ConditionalElse<'tree>
impl<'tree> Sync for ConditionalElse<'tree>
impl<'tree> Unpin for ConditionalElse<'tree>
impl<'tree> UnsafeUnpin for ConditionalElse<'tree>
impl<'tree> UnwindSafe for ConditionalElse<'tree>
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