EguiStructClone

Trait EguiStructClone 

Source
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§

Source

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.

Implementations on Foreign Types§

Source§

impl EguiStructClone for bool

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for f32

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for f64

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for i8

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for i16

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for i32

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for i64

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for i128

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for isize

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for u8

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for u16

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for u32

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for u64

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for u128

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for usize

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl EguiStructClone for String

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl<Q: ToString + Eq + Hash, V: EguiStructClone> EguiStructClone for HashMap<Q, V>

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl<T: EguiStructClone + Default> EguiStructClone for Option<T>

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl<T: EguiStructClone> EguiStructClone for [T]

Source§

fn eguis_clone(&mut self, source: &Self)

Source§

impl<T: EguiStructClone> EguiStructClone for Vec<T>

Source§

fn eguis_clone(&mut self, source: &Self)

Implementors§