pub trait Pushable<T: ?Sized> {
// Required method
fn push(&mut self, other: &T);
}Expand description
Trait for text objects that can have content pushed into them without changing type.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".