pub struct MsdkAdapter { /* private fields */ }
Implementations§
Source§impl MsdkAdapter
impl MsdkAdapter
pub fn new(port: u64) -> Result<MsdkAdapter>
Trait Implementations§
Source§impl MsdkKeyBoardOperation for MsdkAdapter
impl MsdkKeyBoardOperation for MsdkAdapter
fn open(&mut self, port_num: u64) -> Result<u64>
fn close(&self) -> Result<i32>
fn key_press(&self, key_code: i32, count: i32) -> Result<i32>
fn key_down(&self, key_code: i32) -> Result<i32>
fn key_up(&self, key_code: i32) -> Result<i32>
fn all_key_up(&self) -> Result<i32>
Auto Trait Implementations§
impl Freeze for MsdkAdapter
impl RefUnwindSafe for MsdkAdapter
impl Send for MsdkAdapter
impl Sync for MsdkAdapter
impl Unpin for MsdkAdapter
impl UnwindSafe for MsdkAdapter
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