Trait abstutil::CloneableImpl

source ·
pub trait CloneableImpl {
    // Required methods
    fn clone_box(&self) -> Box<dyn CloneableAny>;
    fn as_any(&self) -> &dyn Any;
}

Required Methods§

source

fn clone_box(&self) -> Box<dyn CloneableAny>

source

fn as_any(&self) -> &dyn Any

Implementors§

source§

impl<T> CloneableImpl for T
where T: 'static + CloneableAny + Clone,