pub trait Concat: Sized {
// Required methods
fn empty() -> Self;
fn concat(self, other: Self) -> Self;
// Provided method
fn empty_at(location: Span) -> Self { ... }
}
Expand description
Containers that can be concatenated with each other
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.