#[repr(C)]pub union cec_event_union {
pub state_change: cec_event_state_change,
pub lost_msgs: cec_event_lost_msgs,
pub raw: [u32; 16],
}Fields§
§state_change: cec_event_state_changeThe event payload for CEC_EVENT_STATE_CHANGE.
lost_msgs: cec_event_lost_msgsThe event payload for CEC_EVENT_LOST_MSGS.
raw: [u32; 16]Array to pad the union.
Trait Implementations§
Source§impl Clone for cec_event_union
impl Clone for cec_event_union
Source§fn clone(&self) -> cec_event_union
fn clone(&self) -> cec_event_union
Returns a duplicate 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 moreimpl Copy for cec_event_union
Auto Trait Implementations§
impl Freeze for cec_event_union
impl RefUnwindSafe for cec_event_union
impl Send for cec_event_union
impl Sync for cec_event_union
impl Unpin for cec_event_union
impl UnsafeUnpin for cec_event_union
impl UnwindSafe for cec_event_union
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