pub struct State(/* private fields */);Trait Implementations§
Source§impl StateInterface for State
impl StateInterface for State
type Value = Value
type Fact = Fact
fn run<I, V, E>(&mut self, inputs: I) -> Result<Vec<Value>>
fn input_count(&self) -> Result<usize>
fn output_count(&self) -> Result<usize>
fn initializable_states_count(&self) -> Result<usize>
fn get_states_facts(&self) -> Result<Vec<Fact>>
fn set_states<I, V, E>(&mut self, state_initializers: I) -> Result<()>
fn get_states(&self) -> Result<Vec<Self::Value>>
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl !Send for State
impl !Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more