pub trait NextTuple {
type Output<Next>;
// Required method
fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>;
}Expand description
Allows extending a tuple, or creating a new tuple, by adding the next value.
Required Associated Types§
Required Methods§
sourcefn next_tuple<Next>(self, next: Next) -> Self::Output<Next>
fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>
Adds the next value and returns the result.
Object Safety§
This trait is not object safe.