pub trait PushAnyT {
// Required methods
fn push_any<V>(&mut self, value: V)
where V: StringT;
fn push_any_with_separator<V>(&mut self, value: V, sep: &str)
where V: StringT;
}
Expand description
Trait helper for push any string-like type to the string.
Required Methods§
Sourcefn push_any_with_separator<V>(&mut self, value: V, sep: &str)where
V: StringT,
fn push_any_with_separator<V>(&mut self, value: V, sep: &str)where
V: StringT,
Push any string-like type to the string with a separator.
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.