pub enum SerializableInterfaceInstructions<ConfigType> {
Start,
Open,
Configure(ConfigType),
LeafConfig(LeafConfigData),
Close,
End,
}Expand description
Variants§
Start
Optional session/frame start marker (ignored on replay).
Open
Opens a new element in the tree.
Configure(ConfigType)
Sets the parent/element config for the current open element.
LeafConfig(LeafConfigData)
Sets a leaf-specific config (type-erased JSON blob).
Close
Closes the current open element.
End
Optional session/frame end marker (ignored on replay).
Trait Implementations§
Source§impl<ConfigType: Debug> Debug for SerializableInterfaceInstructions<ConfigType>
impl<ConfigType: Debug> Debug for SerializableInterfaceInstructions<ConfigType>
Source§impl<'de, ConfigType> Deserialize<'de> for SerializableInterfaceInstructions<ConfigType>where
ConfigType: Deserialize<'de>,
impl<'de, ConfigType> Deserialize<'de> for SerializableInterfaceInstructions<ConfigType>where
ConfigType: Deserialize<'de>,
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
Auto Trait Implementations§
impl<ConfigType> Freeze for SerializableInterfaceInstructions<ConfigType>where
ConfigType: Freeze,
impl<ConfigType> RefUnwindSafe for SerializableInterfaceInstructions<ConfigType>where
ConfigType: RefUnwindSafe,
impl<ConfigType> Send for SerializableInterfaceInstructions<ConfigType>where
ConfigType: Send,
impl<ConfigType> Sync for SerializableInterfaceInstructions<ConfigType>where
ConfigType: Sync,
impl<ConfigType> Unpin for SerializableInterfaceInstructions<ConfigType>where
ConfigType: Unpin,
impl<ConfigType> UnsafeUnpin for SerializableInterfaceInstructions<ConfigType>where
ConfigType: UnsafeUnpin,
impl<ConfigType> UnwindSafe for SerializableInterfaceInstructions<ConfigType>where
ConfigType: UnwindSafe,
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