#[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§
Source§impl Clone for cec_keypress
impl Clone for cec_keypress
Source§fn clone(&self) -> cec_keypress
fn clone(&self) -> cec_keypress
Returns a copy of the value. Read more
1.0.0 · 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 cec_keypress
impl Debug for cec_keypress
Source§impl Default for cec_keypress
impl Default for cec_keypress
impl Copy for cec_keypress
Auto Trait Implementations§
impl Freeze for cec_keypress
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§
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