pub enum Either7<A: FromMacro, B: FromMacro, C: FromMacro, D: FromMacro, E: FromMacro, F: FromMacro, G: FromMacro> {
A(A),
B(B),
C(C),
D(D),
E(E),
F(F),
G(G),
}
Expand description
Matches one of many FromMacro
implementors sequentially.
Note the input will be cloned for each branch, which might not be optimal.
Variants§
Trait Implementations§
Source§impl<A: Debug + FromMacro, B: Debug + FromMacro, C: Debug + FromMacro, D: Debug + FromMacro, E: Debug + FromMacro, F: Debug + FromMacro, G: Debug + FromMacro> Debug for Either7<A, B, C, D, E, F, G>
impl<A: Debug + FromMacro, B: Debug + FromMacro, C: Debug + FromMacro, D: Debug + FromMacro, E: Debug + FromMacro, F: Debug + FromMacro, G: Debug + FromMacro> Debug for Either7<A, B, C, D, E, F, G>
Source§impl<A, B, C, D, E, F, G> FromMacro for Either7<A, B, C, D, E, F, G>
impl<A, B, C, D, E, F, G> FromMacro for Either7<A, B, C, D, E, F, G>
Source§impl<A, B, C, D, E, F, G> ToTokens for Either7<A, B, C, D, E, F, G>
impl<A, B, C, D, E, F, G> ToTokens for Either7<A, B, C, D, E, F, G>
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Auto Trait Implementations§
impl<A, B, C, D, E, F, G> Freeze for Either7<A, B, C, D, E, F, G>
impl<A, B, C, D, E, F, G> RefUnwindSafe for Either7<A, B, C, D, E, F, G>where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
G: RefUnwindSafe,
impl<A, B, C, D, E, F, G> Send for Either7<A, B, C, D, E, F, G>
impl<A, B, C, D, E, F, G> Sync for Either7<A, B, C, D, E, F, G>
impl<A, B, C, D, E, F, G> Unpin for Either7<A, B, C, D, E, F, G>
impl<A, B, C, D, E, F, G> UnwindSafe for Either7<A, B, C, D, E, F, G>where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
G: 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