Trait ai_kit::core::BindingsValue
[−]
[src]
pub trait BindingsValue: Clone + Debug + Default + Deserialize + Display + Eq + PartialEq + PartialOrd + Serialize { fn variable(_s: &String) -> Option<Self> { ... } fn to_variable(&self) -> Option<String> { ... } }
A type must implement BindingsValue in order to be used as the value for some variable.
Provided Methods
fn variable(_s: &String) -> Option<Self>
Construct a BindingsValue variable using the specified string as it's name
fn to_variable(&self) -> Option<String>
Extract the name of this BindingsValue variable (if it is a variable)