#[repr(C)]pub struct cec_event_state_change {
pub phys_addr: PhysicalAddress,
pub log_addr_mask: CEC_LOG_ADDR_MASK,
pub have_conn_info: u16,
}Expand description
Used when the CEC adapter changes state.
Fields§
§phys_addr: PhysicalAddressThe current physical address
log_addr_mask: CEC_LOG_ADDR_MASKThe current logical address mask
have_conn_info: u16If non-zero, then HDMI connector information is available.
This field is only valid if CEC_CAP_CONNECTOR_INFO is set. If that
capability is set and have_conn_info is zero, then that indicates
that the HDMI connector device is not instantiated, either because
the HDMI driver is still configuring the device or because the HDMI
device was unbound.
Trait Implementations§
Source§impl Clone for cec_event_state_change
impl Clone for cec_event_state_change
Source§fn clone(&self) -> cec_event_state_change
fn clone(&self) -> cec_event_state_change
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 moreSource§impl Debug for cec_event_state_change
impl Debug for cec_event_state_change
impl Copy for cec_event_state_change
Auto Trait Implementations§
impl Freeze for cec_event_state_change
impl RefUnwindSafe for cec_event_state_change
impl Send for cec_event_state_change
impl Sync for cec_event_state_change
impl Unpin for cec_event_state_change
impl UnsafeUnpin for cec_event_state_change
impl UnwindSafe for cec_event_state_change
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