pub struct ActionSet {
pub entries: Vec<ActionEntry>,
}Expand description
A collection of ActionEntrys attached to a semantics node.
ActionSet is a simple wrapper around a Vec<ActionEntry>. It exists as a
named type so that serialization and hashing are straightforward.
Fields§
§entries: Vec<ActionEntry>The action entries. Order does not matter for dispatch; the event system
matches on ActionTrigger.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ActionSet
impl<'de> Deserialize<'de> for ActionSet
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ActionSet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ActionSet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ActionSet
impl Serialize for ActionSet
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ActionSet
impl StructuralPartialEq for ActionSet
Auto Trait Implementations§
impl Freeze for ActionSet
impl RefUnwindSafe for ActionSet
impl Send for ActionSet
impl Sync for ActionSet
impl Unpin for ActionSet
impl UnsafeUnpin for ActionSet
impl UnwindSafe for ActionSet
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