Trait tink_core::MacBoxClone[][src]

pub trait MacBoxClone {
    fn box_clone(&self) -> Box<dyn Mac>;
}
Expand description

Trait bound to indicate that primitive trait objects should support cloning themselves as trait objects.

Required methods

fn box_clone(&self) -> Box<dyn Mac>[src]

Implementors

impl<T> MacBoxClone for T where
    T: 'static + Mac + Clone
[src]

Default implementation of the box-clone trait bound for any underlying concrete type that implements Clone.

fn box_clone(&self) -> Box<dyn Mac>[src]