SetTarget

Trait SetTarget 

Source
pub trait SetTarget<C> {
    // Required methods
    fn add_ref(&self) -> Box<dyn SetTarget<C>>;
    fn set_target(&self, target: C);
}

Required Methods§

Source

fn add_ref(&self) -> Box<dyn SetTarget<C>>

Source

fn set_target(&self, target: C)

Trait Implementations§

Source§

impl<C> Clone for Box<dyn SetTarget<C>>

Source§

fn clone(&self) -> Self

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

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

Performs copy-assignment from source. Read more

Implementors§