pub trait Concat: Sized {
const NO_DUPLICATES: bool = true;
// Provided method
fn concat(&mut self, other: Self) { ... }
}
Expand description
Combines an argument with a previously stored instance.
Provided Associated Constants§
Sourceconst NO_DUPLICATES: bool = true
const NO_DUPLICATES: bool = true
Determines whether a duplicate is allowed or if an error should be thrown.
This logic is handled in the implementation for ArgResult
.
Typically only true for primitive types.
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.