Trait InstanceExt

Source
pub trait InstanceExt<V: Clone, R, E>: Sized {
    // Required methods
    fn from_exec(exec: &E, rng: &mut R) -> Self;
    fn is_continued(&self, exec: &E) -> bool;
    fn get_informers_with<'a>(
        ins: &mut InstanceWrapper<'a, E, V, R, Self>,
        t: u32,
    ) -> Vec<(AgentIdx, InfoContent<'a, V>)>;
}

Required Methods§

Source

fn from_exec(exec: &E, rng: &mut R) -> Self

Source

fn is_continued(&self, exec: &E) -> bool

Source

fn get_informers_with<'a>( ins: &mut InstanceWrapper<'a, E, V, R, Self>, t: u32, ) -> Vec<(AgentIdx, InfoContent<'a, V>)>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§