pub trait DropMoveTypes: Sized + Into<Self::Outer>{
type Outer;
}
Expand description
Tracks the relationship between an inner struct
and outer struct
generated by
drop_move_wrap!
.
It is implemented for the inner structure, and Self::Outer
is set to be the outer structure.
This is separated from DropMove
so that it can be implemented automatically by the macro.
Required Associated Types§
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.