pub struct PatRest {
pub attrs: Vec<Attribute>,
pub dot2_token: DotDot,
}Expand description
The dots in a tuple or slice pattern: [0, 1, ..].
Fields§
§attrs: Vec<Attribute>§dot2_token: DotDotTrait Implementations§
Auto Trait Implementations§
impl Freeze for PatRest
impl RefUnwindSafe for PatRest
impl !Send for PatRest
impl !Sync for PatRest
impl Unpin for PatRest
impl UnwindSafe for PatRest
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