pub trait StdMove: Sized {
// Required method
fn std_move(&mut self) -> Self;
}
Expand description
Simply copy self, or replace self with a simple instance
Required Methods§
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.
Implementations on Foreign Types§
Source§impl<T0> StdMove for (T0,)where
T0: StdMove,
This trait is implemented for tuples up to 12 items long.
impl<T0> StdMove for (T0,)where
T0: StdMove,
This trait is implemented for tuples up to 12 items long.