pub trait SplitParent {
type Parent: TypedParent;
type Remnant;
// Required methods
fn from_parent_split(parent: Self::Parent, remnant: Self::Remnant) -> Self;
fn into_parent_split(self) -> (Self::Parent, Self::Remnant);
}
Required Associated Types§
type Parent: TypedParent
type Remnant
Required Methods§
fn from_parent_split(parent: Self::Parent, remnant: Self::Remnant) -> Self
fn into_parent_split(self) -> (Self::Parent, Self::Remnant)
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.