#[repr(C)]pub struct CcapDeviceInfo {
pub deviceName: [c_char; 128],
pub supportedPixelFormats: [CcapPixelFormat; 32],
pub pixelFormatCount: usize,
pub supportedResolutions: [CcapResolution; 64],
pub resolutionCount: usize,
}Expand description
@brief Device information structure
Fields§
§deviceName: [c_char; 128]< Device name
supportedPixelFormats: [CcapPixelFormat; 32]< Array of supported pixel formats
pixelFormatCount: usize< Number of supported pixel formats
supportedResolutions: [CcapResolution; 64]< Array of supported resolutions
resolutionCount: usize< Number of supported resolutions
Trait Implementations§
Source§impl Clone for CcapDeviceInfo
impl Clone for CcapDeviceInfo
Source§fn clone(&self) -> CcapDeviceInfo
fn clone(&self) -> CcapDeviceInfo
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 CcapDeviceInfo
impl Debug for CcapDeviceInfo
Source§impl Default for CcapDeviceInfo
impl Default for CcapDeviceInfo
Source§impl PartialEq for CcapDeviceInfo
impl PartialEq for CcapDeviceInfo
impl Copy for CcapDeviceInfo
impl Eq for CcapDeviceInfo
impl StructuralPartialEq for CcapDeviceInfo
Auto Trait Implementations§
impl Freeze for CcapDeviceInfo
impl RefUnwindSafe for CcapDeviceInfo
impl Send for CcapDeviceInfo
impl Sync for CcapDeviceInfo
impl Unpin for CcapDeviceInfo
impl UnwindSafe for CcapDeviceInfo
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