pub(crate) struct MatchToken {
pub(crate) ident: Ident,
pub(crate) arms: Vec<MatchTokenArm>,
}
Fields§
§ident: Ident
§arms: Vec<MatchTokenArm>
Trait Implementations§
Source§impl Parse for MatchToken
impl Parse for MatchToken
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for MatchToken
impl RefUnwindSafe for MatchToken
impl !Send for MatchToken
impl !Sync for MatchToken
impl Unpin for MatchToken
impl UnwindSafe for MatchToken
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