pub struct CaseAlternative {
pub when: Vec<Expr>,
pub then: Expr,
pub span: Span,
}Expand description
One WHEN ... THEN ... arm.
Fields§
§when: Vec<Expr>One or more operands following WHEN.
then: Expr§span: SpanTrait Implementations§
Source§impl Clone for CaseAlternative
impl Clone for CaseAlternative
Source§impl Debug for CaseAlternative
impl Debug for CaseAlternative
impl Eq for CaseAlternative
Source§impl Hash for CaseAlternative
impl Hash for CaseAlternative
Source§impl PartialEq for CaseAlternative
impl PartialEq for CaseAlternative
impl StructuralPartialEq for CaseAlternative
Auto Trait Implementations§
impl Freeze for CaseAlternative
impl RefUnwindSafe for CaseAlternative
impl Send for CaseAlternative
impl Sync for CaseAlternative
impl Unpin for CaseAlternative
impl UnsafeUnpin for CaseAlternative
impl UnwindSafe for CaseAlternative
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