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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.