Struct libcec_sys::cec_keypress
source · [−]#[repr(C)]pub struct cec_keypress {
pub keycode: cec_user_control_code,
pub duration: c_uint,
}Fields
keycode: cec_user_control_code< the keycode
duration: c_uint< the duration of the keypress
Trait Implementations
sourceimpl Clone for cec_keypress
impl Clone for cec_keypress
sourcefn clone(&self) -> cec_keypress
fn clone(&self) -> cec_keypress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for cec_keypress
impl Debug for cec_keypress
impl Copy for cec_keypress
Auto Trait Implementations
impl RefUnwindSafe for cec_keypress
impl Send for cec_keypress
impl Sync for cec_keypress
impl Unpin for cec_keypress
impl UnwindSafe for cec_keypress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more