Skip to main content

GlobalClone

Trait GlobalClone 

Source
pub trait GlobalClone {
    // Required method
    fn clone_global(&self) -> Box<dyn Global>;
}

Required Methods§

Source

fn clone_global(&self) -> Box<dyn Global>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> GlobalClone for T
where T: 'static + Global + Clone,