pub struct MotionKeyTrigger {
pub target: &'static str,
pub receiver: &'static str,
pub id: &'static str,
pub threshold: f32,
pub slack: f32,
pub collision: Option<&'static str>,
pub post_layout: bool,
pub on_cross: &'static str,
pub on_positive: &'static str,
pub on_negative: &'static str,
pub view_transitions: [Option<&'static str>; 3],
pub custom: [&'static [(&'static str, MotionCustomValue)]; 3],
}Fields§
§target: &'static str§receiver: &'static str§id: &'static str§threshold: f32§slack: f32§collision: Option<&'static str>§post_layout: bool§on_cross: &'static str§on_positive: &'static str§on_negative: &'static str§view_transitions: [Option<&'static str>; 3]§custom: [&'static [(&'static str, MotionCustomValue)]; 3]Typed custom callbacks in negative, positive, and general crossing order.
Trait Implementations§
Source§impl Clone for MotionKeyTrigger
impl Clone for MotionKeyTrigger
impl Copy for MotionKeyTrigger
Source§impl Debug for MotionKeyTrigger
impl Debug for MotionKeyTrigger
Source§impl PartialEq for MotionKeyTrigger
impl PartialEq for MotionKeyTrigger
impl StructuralPartialEq for MotionKeyTrigger
Auto Trait Implementations§
impl Forget for MotionKeyTrigger
impl Freeze for MotionKeyTrigger
impl Move for MotionKeyTrigger
impl RefUnwindSafe for MotionKeyTrigger
impl Send for MotionKeyTrigger
impl Sync for MotionKeyTrigger
impl Unpin for MotionKeyTrigger
impl UnsafeUnpin for MotionKeyTrigger
impl UnwindSafe for MotionKeyTrigger
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