pub struct Match {
pub span: TokenSpan,
pub enum_name: Ident,
pub enum_variant: Ident,
pub enum_value: Cell<Option<usize>>,
pub block: Block,
}
Fields§
§span: TokenSpan
§enum_name: Ident
§enum_variant: Ident
§enum_value: Cell<Option<usize>>
§block: Block
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Match
impl !RefUnwindSafe for Match
impl !Send for Match
impl !Sync for Match
impl Unpin for Match
impl UnwindSafe for Match
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