[][src]Trait tink_core::MacBoxClone

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

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

Required methods

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

Loading content...

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.

Loading content...