Trait ChangeInterface

Source
pub trait ChangeInterface: Debug {
    // Provided method
    fn add_to<C>(self, changer: &mut C) -> &mut C
       where C: ChangerInterface,
             Self: Sized + 'static { ... }
}
Expand description

Context.

Provided Methods§

Source

fn add_to<C>(self, changer: &mut C) -> &mut C
where C: ChangerInterface, Self: Sized + 'static,

Add change to queue of events.

Trait Implementations§

Source§

impl<'c> Clone for Box<dyn ChangeInterface + 'c>
where Box<dyn ChangeInterface + 'c>: Debug,

Source§

fn clone(&self) -> Box<dyn ChangeInterface + 'c>

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<'c> Clone for Box<dyn ChangeInterface + Send + 'c>
where Box<dyn ChangeInterface + Send + 'c>: Debug,

Source§

fn clone(&self) -> Box<dyn ChangeInterface + Send + 'c>

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<'c> Clone for Box<dyn ChangeInterface + Sync + Send + 'c>
where Box<dyn ChangeInterface + Sync + Send + 'c>: Debug,

Source§

fn clone(&self) -> Box<dyn ChangeInterface + Sync + Send + 'c>

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<'c> Clone for Box<dyn ChangeInterface + Sync + 'c>
where Box<dyn ChangeInterface + Sync + 'c>: Debug,

Source§

fn clone(&self) -> Box<dyn ChangeInterface + Sync + 'c>

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more

Implementors§