pub struct PatWild {
pub attrs: Vec<Attribute>,
pub underscore_token: Underscore,
}Expand description
A pattern that matches any value: _.
Fields§
§attrs: Vec<Attribute>§underscore_token: UnderscoreTrait Implementations§
Auto Trait Implementations§
impl Freeze for PatWild
impl RefUnwindSafe for PatWild
impl !Send for PatWild
impl !Sync for PatWild
impl Unpin for PatWild
impl UnwindSafe for PatWild
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