pub struct HookDescriptor {
pub hook_id: String,
pub name: String,
pub description: String,
pub axes: Vec<LawAxis>,
pub trigger_law: LawAxis,
pub input_type: String,
pub output_type: String,
pub failure_mode: String,
}Fields§
§hook_id: String§name: String§description: String§axes: Vec<LawAxis>§trigger_law: LawAxis§input_type: String§output_type: String§failure_mode: StringTrait Implementations§
Source§impl Clone for HookDescriptor
impl Clone for HookDescriptor
Source§fn clone(&self) -> HookDescriptor
fn clone(&self) -> HookDescriptor
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 HookDescriptor
impl Debug for HookDescriptor
Source§impl Default for HookDescriptor
impl Default for HookDescriptor
Source§fn default() -> HookDescriptor
fn default() -> HookDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HookDescriptor
impl<'de> Deserialize<'de> for HookDescriptor
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 HookDescriptor
impl RefUnwindSafe for HookDescriptor
impl Send for HookDescriptor
impl Sync for HookDescriptor
impl Unpin for HookDescriptor
impl UnsafeUnpin for HookDescriptor
impl UnwindSafe for HookDescriptor
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