pub enum ActionIntent {
InsertNode {
node_kind: String,
},
OpenMenu {
menu_key: String,
},
OpenInspector {
inspector_key: String,
},
AddRepeatableItem {
collection_key: String,
},
RemoveRepeatableItem {
collection_key: String,
item_id: String,
},
ReorderRepeatableItem {
collection_key: String,
item_id: String,
},
SetControlValue {
control_key: String,
},
RunNode,
OpenBlackboard {
blackboard_key: String,
},
Custom {
key: String,
},
}Expand description
Renderer-neutral action intent.
Variants§
InsertNode
OpenMenu
Fields
OpenInspector
AddRepeatableItem
RemoveRepeatableItem
ReorderRepeatableItem
SetControlValue
RunNode
OpenBlackboard
Custom
Trait Implementations§
Source§impl Clone for ActionIntent
impl Clone for ActionIntent
Source§fn clone(&self) -> ActionIntent
fn clone(&self) -> ActionIntent
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 moreSource§impl Debug for ActionIntent
impl Debug for ActionIntent
Source§impl<'de> Deserialize<'de> for ActionIntent
impl<'de> Deserialize<'de> for ActionIntent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ActionIntent
Source§impl PartialEq for ActionIntent
impl PartialEq for ActionIntent
Source§fn eq(&self, other: &ActionIntent) -> bool
fn eq(&self, other: &ActionIntent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ActionIntent
impl Serialize for ActionIntent
impl StructuralPartialEq for ActionIntent
Auto Trait Implementations§
impl Freeze for ActionIntent
impl RefUnwindSafe for ActionIntent
impl Send for ActionIntent
impl Sync for ActionIntent
impl Unpin for ActionIntent
impl UnsafeUnpin for ActionIntent
impl UnwindSafe for ActionIntent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.