Struct partiql_ast::ast::SimpleCase
source · pub struct SimpleCase {
pub expr: Box<Expr>,
pub cases: Vec<ExprPair>,
pub default: Option<Box<Expr>>,
}
Fields§
§expr: Box<Expr>
§cases: Vec<ExprPair>
§default: Option<Box<Expr>>
Trait Implementations§
source§impl Clone for SimpleCase
impl Clone for SimpleCase
source§fn clone(&self) -> SimpleCase
fn clone(&self) -> SimpleCase
Returns a copy 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 Debug for SimpleCase
impl Debug for SimpleCase
source§impl PartialEq<SimpleCase> for SimpleCase
impl PartialEq<SimpleCase> for SimpleCase
source§fn eq(&self, other: &SimpleCase) -> bool
fn eq(&self, other: &SimpleCase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Visit for SimpleCase
impl Visit for SimpleCase
impl StructuralPartialEq for SimpleCase
Auto Trait Implementations§
impl RefUnwindSafe for SimpleCase
impl Send for SimpleCase
impl Sync for SimpleCase
impl Unpin for SimpleCase
impl UnwindSafe for SimpleCase
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