ContextClone

Trait ContextClone 

Source
pub trait ContextClone {
    // Required method
    fn clone_with_context(&self, context: &Value) -> Result<Self>
       where Self: Sized;
}
Expand description

Cloneable trait for objects that can be cloned with context

Required Methods§

Source

fn clone_with_context(&self, context: &Value) -> Result<Self>
where Self: Sized,

Clone the object with additional context

Implementors§