Struct libcec_sys::cec_adapter_descriptor
source · #[repr(C)]pub struct cec_adapter_descriptor {
pub strComPath: [c_char; 1024],
pub strComName: [c_char; 1024],
pub iVendorId: u16,
pub iProductId: u16,
pub iFirmwareVersion: u16,
pub iPhysicalAddress: u16,
pub iFirmwareBuildDate: u32,
pub adapterType: cec_adapter_type,
}
Fields§
§strComPath: [c_char; 1024]
< the path to the com port
strComName: [c_char; 1024]
< the name of the com port
iVendorId: u16
§iProductId: u16
§iFirmwareVersion: u16
§iPhysicalAddress: u16
§iFirmwareBuildDate: u32
§adapterType: cec_adapter_type
Trait Implementations§
source§impl Clone for cec_adapter_descriptor
impl Clone for cec_adapter_descriptor
source§fn clone(&self) -> cec_adapter_descriptor
fn clone(&self) -> cec_adapter_descriptor
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 moreimpl Copy for cec_adapter_descriptor
Auto Trait Implementations§
impl RefUnwindSafe for cec_adapter_descriptor
impl Send for cec_adapter_descriptor
impl Sync for cec_adapter_descriptor
impl Unpin for cec_adapter_descriptor
impl UnwindSafe for cec_adapter_descriptor
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