Skip to main content

CloneableDatabase

Trait CloneableDatabase 

Source
pub trait CloneableDatabase: Database + Send {
    // Required method
    fn dyn_clone(&self) -> Box<dyn CloneableDatabase>;
}
Expand description

Traits requesting the for a dynamic clone for a salsa database.

Required Methods§

Source

fn dyn_clone(&self) -> Box<dyn CloneableDatabase>

Returns a Box of the cloned database.

Trait Implementations§

Source§

impl Clone for Box<dyn CloneableDatabase>

Available on crate feature std only.

Implements Clone for Box<dyn CloneableDatabase>.

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§