[][src]Trait memflow::mem::phys_mem::CloneablePhysicalMemory

pub trait CloneablePhysicalMemory: PhysicalMemory {
    fn clone_box(&self) -> Box<dyn CloneablePhysicalMemory>;
fn downcast(&mut self) -> &mut dyn PhysicalMemory; }

Wrapper trait around physical memory which implements a boxed clone

Required methods

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

fn downcast(&mut self) -> &mut dyn PhysicalMemory

Loading content...

Implementors

impl<T> CloneablePhysicalMemory for T where
    T: PhysicalMemory + Clone + 'static, 
[src]

Forward implementation of CloneablePhysicalMemory for every Cloneable backend.

Loading content...