pub struct IndexedPat<Cx: PatCx> {
pub idx: usize,
pub pat: DeconstructedPat<Cx>,
}Expand description
A pattern with an index denoting which field it corresponds to.
Fields§
§idx: usize§pat: DeconstructedPat<Cx>Auto Trait Implementations§
impl<Cx> Freeze for IndexedPat<Cx>where
DeconstructedPat<Cx>: Freeze,
impl<Cx> RefUnwindSafe for IndexedPat<Cx>where
DeconstructedPat<Cx>: RefUnwindSafe,
impl<Cx> Send for IndexedPat<Cx>where
DeconstructedPat<Cx>: Send,
impl<Cx> Sync for IndexedPat<Cx>where
DeconstructedPat<Cx>: Sync,
impl<Cx> Unpin for IndexedPat<Cx>where
DeconstructedPat<Cx>: Unpin,
impl<Cx> UnsafeUnpin for IndexedPat<Cx>where
DeconstructedPat<Cx>: UnsafeUnpin,
impl<Cx> UnwindSafe for IndexedPat<Cx>where
DeconstructedPat<Cx>: UnwindSafe,
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