pub struct ActionsKeys { /* private fields */ }Expand description
Struct to create the key actions sequence
Implementations§
Source§impl ActionsKeys
impl ActionsKeys
pub fn new() -> ActionsKeys
pub fn press_key(&mut self, key: &str) -> &mut Self
pub fn release_key(&mut self, key: &str) -> &mut Self
pub fn press_special_key(&mut self, spec_key: SpecialKey) -> &mut Self
pub fn release_special_key(&mut self, spec_key: SpecialKey) -> &mut Self
pub fn pause(&mut self, duration: u32) -> &mut Self
Trait Implementations§
Source§impl Debug for ActionsKeys
impl Debug for ActionsKeys
Source§impl<'de> Deserialize<'de> for ActionsKeys
impl<'de> Deserialize<'de> for ActionsKeys
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 ActionsKeys
impl RefUnwindSafe for ActionsKeys
impl Send for ActionsKeys
impl Sync for ActionsKeys
impl Unpin for ActionsKeys
impl UnsafeUnpin for ActionsKeys
impl UnwindSafe for ActionsKeys
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