pub trait SplitHelper {
// Provided methods
fn fit<Target>(&mut self) -> &mut Target
where Self: Split<Target> { ... }
fn fit_rest<Target>(&mut self) -> &mut Self::Rest
where Self: Split<Target> { ... }
fn split<Target>(&mut self) -> (&mut Target, &mut Self::Rest)
where Self: Split<Target> { ... }
}
Provided Methods§
fn fit<Target>(&mut self) -> &mut Targetwhere
Self: Split<Target>,
fn fit_rest<Target>(&mut self) -> &mut Self::Restwhere
Self: Split<Target>,
fn split<Target>(&mut self) -> (&mut Target, &mut Self::Rest)where
Self: Split<Target>,
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.