pub trait AddToTuple<T>where
Self: Sized,{
// Required method
fn add(&mut self, input: T);
// Provided method
fn with(self, input: T) -> Self { ... }
}
Expand description
An extension trait to simplify working with segments
Required Methods§
Provided Methods§
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.