pub struct Conditional<'tree> {
pub span: Span,
pub alternative: Arg<'tree>,
pub condition: Arg<'tree>,
pub consequence: Arg<'tree>,
}Fields§
§span: Span§alternative: Arg<'tree>§condition: Arg<'tree>§consequence: Arg<'tree>Trait Implementations§
Source§impl<'tree> Clone for Conditional<'tree>
impl<'tree> Clone for Conditional<'tree>
Source§fn clone(&self) -> Conditional<'tree>
fn clone(&self) -> Conditional<'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 Conditional<'tree>
impl<'tree> Debug for Conditional<'tree>
Source§impl<'tree> FromNode<'tree> for Conditional<'tree>
impl<'tree> FromNode<'tree> for Conditional<'tree>
Source§impl<'tree> PartialEq for Conditional<'tree>
impl<'tree> PartialEq for Conditional<'tree>
Source§impl Spanned for Conditional<'_>
impl Spanned for Conditional<'_>
impl<'tree> Eq for Conditional<'tree>
impl<'tree> StructuralPartialEq for Conditional<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Conditional<'tree>
impl<'tree> RefUnwindSafe for Conditional<'tree>
impl<'tree> Send for Conditional<'tree>
impl<'tree> Sync for Conditional<'tree>
impl<'tree> Unpin for Conditional<'tree>
impl<'tree> UnsafeUnpin for Conditional<'tree>
impl<'tree> UnwindSafe for Conditional<'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