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: u16iProductId: u16iFirmwareVersion: u16iPhysicalAddress: u16iFirmwareBuildDate: u32adapterType: cec_adapter_typeTrait Implementations
sourceimpl Clone for cec_adapter_descriptor
impl Clone for cec_adapter_descriptor
sourcefn clone(&self) -> cec_adapter_descriptor
fn clone(&self) -> cec_adapter_descriptor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more