#[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_typeTrait 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 moreSource§impl Debug for cec_adapter_descriptor
impl Debug for cec_adapter_descriptor
Source§impl Default for cec_adapter_descriptor
impl Default for cec_adapter_descriptor
impl Copy for cec_adapter_descriptor
Auto Trait Implementations§
impl Freeze for cec_adapter_descriptor
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