pub trait TransferInto<Dst> {
// Required method
fn transfer_into(&self, dst: &mut Dst);
}Expand description
Moves Self into an already-allocated destination.
Required Methods§
Sourcefn transfer_into(&self, dst: &mut Dst)
fn transfer_into(&self, dst: &mut Dst)
§Panics
If the two values do not agree on shape.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".