pub struct StateExtension;Expand description
Structured state: vigy-desired / observed / condition.
Trait Implementations§
Source§impl Clone for StateExtension
impl Clone for StateExtension
Source§fn clone(&self) -> StateExtension
fn clone(&self) -> StateExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StateExtension
Source§impl Debug for StateExtension
impl Debug for StateExtension
Source§impl Default for StateExtension
impl Default for StateExtension
Source§fn default() -> StateExtension
fn default() -> StateExtension
Returns the “default value” for a type. Read more
Source§impl HostExtension for StateExtension
impl HostExtension for StateExtension
Source§fn install(&self, interp: &mut Interpreter<VigyHost>)
fn install(&self, interp: &mut Interpreter<VigyHost>)
Register every intrinsic this extension owns on the interpreter.
Idempotent within a single evaluation — registering twice on
the same interpreter overrides the prior binding (tatara-lisp’s
default behaviour). Across different interpreter instances each
install is independent.
Auto Trait Implementations§
impl Freeze for StateExtension
impl RefUnwindSafe for StateExtension
impl Send for StateExtension
impl Sync for StateExtension
impl Unpin for StateExtension
impl UnsafeUnpin for StateExtension
impl UnwindSafe for StateExtension
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