pub struct MatchStmt {
pub subject: Expr,
pub arms: Vec<MatchArm>,
pub span: Span,
}Fields§
§subject: Expr§arms: Vec<MatchArm>§span: SpanTrait Implementations§
Source§impl<'de> Deserialize<'de> for MatchStmt
impl<'de> Deserialize<'de> for MatchStmt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MatchStmt
impl RefUnwindSafe for MatchStmt
impl Send for MatchStmt
impl Sync for MatchStmt
impl Unpin for MatchStmt
impl UnwindSafe for MatchStmt
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