pub struct MultiExtractor<T>(pub T);
Expand description
Extracts multiple items sequentiallly.
§Example:
let MultiExtractor((a, b, c)) = quote!(1 2.0 '3').into_iter().extract()?;
assert_eq!(a, 1);
assert_eq!(b, 2.0);
assert_eq!(c, '3');
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T: Debug> Debug for MultiExtractor<T>
impl<T: Debug> Debug for MultiExtractor<T>
Source§impl<A, B, C, D, E, F, G, H, I, J, K, L> Extractor for MultiExtractor<(A, B, C, D, E, F, G, H, I, J, K, L)>
impl<A, B, C, D, E, F, G, H, I, J, K, L> Extractor for MultiExtractor<(A, B, C, D, E, F, G, H, I, J, K, L)>
Source§impl<B, C, D, E, F, G, H, I, J, K, L> Extractor for MultiExtractor<(B, C, D, E, F, G, H, I, J, K, L)>
impl<B, C, D, E, F, G, H, I, J, K, L> Extractor for MultiExtractor<(B, C, D, E, F, G, H, I, J, K, L)>
Source§impl<C, D, E, F, G, H, I, J, K, L> Extractor for MultiExtractor<(C, D, E, F, G, H, I, J, K, L)>
impl<C, D, E, F, G, H, I, J, K, L> Extractor for MultiExtractor<(C, D, E, F, G, H, I, J, K, L)>
Source§impl<D, E, F, G, H, I, J, K, L> Extractor for MultiExtractor<(D, E, F, G, H, I, J, K, L)>
impl<D, E, F, G, H, I, J, K, L> Extractor for MultiExtractor<(D, E, F, G, H, I, J, K, L)>
Source§impl<E, F, G, H, I, J, K, L> Extractor for MultiExtractor<(E, F, G, H, I, J, K, L)>
impl<E, F, G, H, I, J, K, L> Extractor for MultiExtractor<(E, F, G, H, I, J, K, L)>
Source§impl<F, G, H, I, J, K, L> Extractor for MultiExtractor<(F, G, H, I, J, K, L)>
impl<F, G, H, I, J, K, L> Extractor for MultiExtractor<(F, G, H, I, J, K, L)>
Source§impl<G, H, I, J, K, L> Extractor for MultiExtractor<(G, H, I, J, K, L)>
impl<G, H, I, J, K, L> Extractor for MultiExtractor<(G, H, I, J, K, L)>
Source§impl<H, I, J, K, L> Extractor for MultiExtractor<(H, I, J, K, L)>
impl<H, I, J, K, L> Extractor for MultiExtractor<(H, I, J, K, L)>
Source§impl<I, J, K, L> Extractor for MultiExtractor<(I, J, K, L)>
impl<I, J, K, L> Extractor for MultiExtractor<(I, J, K, L)>
Source§impl<J, K, L> Extractor for MultiExtractor<(J, K, L)>
impl<J, K, L> Extractor for MultiExtractor<(J, K, L)>
Source§impl<K, L> Extractor for MultiExtractor<(K, L)>
impl<K, L> Extractor for MultiExtractor<(K, L)>
Auto Trait Implementations§
impl<T> Freeze for MultiExtractor<T>where
T: Freeze,
impl<T> RefUnwindSafe for MultiExtractor<T>where
T: RefUnwindSafe,
impl<T> Send for MultiExtractor<T>where
T: Send,
impl<T> Sync for MultiExtractor<T>where
T: Sync,
impl<T> Unpin for MultiExtractor<T>where
T: Unpin,
impl<T> UnwindSafe for MultiExtractor<T>where
T: 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