pub trait EguiStructClone {
// Required method
fn eguis_clone(&mut self, source: &Self);
}Expand description
Similar to std Clone trait, but they respect #[eguis(skip)].
Necessary to implement EguiStruct. Used to provide reset functionality.
If type is Clone can be implemented with impl_eclone!/impl_eeqclone!.
Required Methods§
fn eguis_clone(&mut self, source: &Self)
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.