Skip to main content

InputQuery

Trait InputQuery 

Source
pub trait InputQuery: Query + Sized {
    // Required method
    fn set(storage: &QueryStorage<Self>, key: Self::Key, value: Self::Value);
}
Expand description

Marker trait for input queries that can be set directly.

Required Methods§

Source

fn set(storage: &QueryStorage<Self>, key: Self::Key, value: Self::Value)

Set the value for an input query.

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§