pub struct InClause<'tree> {
pub span: Span,
pub body: Option<Then<'tree>>,
pub guard: Option<InClauseGuard<'tree>>,
pub pattern: PatternTopExprBody<'tree>,
}Fields§
§span: Span§body: Option<Then<'tree>>§guard: Option<InClauseGuard<'tree>>§pattern: PatternTopExprBody<'tree>Trait Implementations§
impl<'tree> Eq for InClause<'tree>
impl<'tree> StructuralPartialEq for InClause<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for InClause<'tree>
impl<'tree> RefUnwindSafe for InClause<'tree>
impl<'tree> Send for InClause<'tree>
impl<'tree> Sync for InClause<'tree>
impl<'tree> Unpin for InClause<'tree>
impl<'tree> UnsafeUnpin for InClause<'tree>
impl<'tree> UnwindSafe for InClause<'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