Action

pub trait Action {
    // Required methods
    fn trigger(&self) -> bool;
    fn set_trigger(&mut self, trigger: bool);
}
Expand description

§Component Action

§Fully Qualified Namespace

reactive_graph::core::Action

§Description

An action can be triggered

§Properties

  • trigger

§JSON Schema

https://schema.reactive-graph.io/schema/json/dynamic_graph/types/component/reactive_graph/core/Action.schema.json

Required Methods§

Source

fn trigger(&self) -> bool

§Property trigger

On receiving a boolean trigger the action will be executed

Data Type: Bool

Socket Type: Input

Mutability: Mutable

Source

fn set_trigger(&mut self, trigger: bool)

§Property trigger

On receiving a boolean trigger the action will be executed

Data Type: Bool

Socket Type: Input

Mutability: Mutable

Implementors§