pub struct RegisterAction {
pub id: String,
pub default_key: KeyCode,
}Expand description
Describes an action that can be registered with the engine.
Fields§
§id: String§default_key: KeyCodeImplementations§
Trait Implementations§
Source§impl Clone for RegisterAction
impl Clone for RegisterAction
Source§fn clone(&self) -> RegisterAction
fn clone(&self) -> RegisterAction
Returns a duplicate of the value. Read more
1.0.0 · 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 RegisterAction
impl Debug for RegisterAction
Source§impl<'de> Deserialize<'de> for RegisterAction
impl<'de> Deserialize<'de> for RegisterAction
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 Freeze for RegisterAction
impl RefUnwindSafe for RegisterAction
impl Send for RegisterAction
impl Sync for RegisterAction
impl Unpin for RegisterAction
impl UnwindSafe for RegisterAction
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