Trait ListExt
pub trait ListExt {
// Required method
fn with(self, other: Self) -> Self;
}Expand description
Trait for concatenating two lists into one.
Required Methods§
fn with(self, other: Self) -> Self
fn with(self, other: Self) -> Self
Append the contents of other, returning the combined list.
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.