ICommand

Trait ICommand 

Source
pub trait ICommand {
    // Required methods
    fn execute<T: ValueStore, U: CacheStore>(
        &self,
        device: &mut impl Device,
        store: &impl NodeStore,
        cx: &mut ValueCtxt<T, U>,
    ) -> GenApiResult<()>;
    fn is_done<T: ValueStore, U: CacheStore>(
        &self,
        device: &mut impl Device,
        store: &impl NodeStore,
        cx: &mut ValueCtxt<T, U>,
    ) -> GenApiResult<bool>;
    fn is_writable<T: ValueStore, U: CacheStore>(
        &self,
        device: &mut impl Device,
        store: &impl NodeStore,
        cx: &mut ValueCtxt<T, U>,
    ) -> GenApiResult<bool>;
}

Required Methods§

Source

fn execute<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U>, ) -> GenApiResult<()>

Source

fn is_done<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U>, ) -> GenApiResult<bool>

Source

fn is_writable<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U>, ) -> GenApiResult<bool>

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§