#[repr(C)]pub struct AVDeviceInfoList {
pub devices: *mut *mut AVDeviceInfo,
pub nb_devices: c_int,
pub default_device: c_int,
}Expand description
List of devices.
Fields§
§devices: *mut *mut AVDeviceInfo< list of autodetected devices
nb_devices: c_int< number of autodetected devices
default_device: c_int< index of default device or -1 if no default
Trait Implementations§
Source§impl Clone for AVDeviceInfoList
impl Clone for AVDeviceInfoList
Source§fn clone(&self) -> AVDeviceInfoList
fn clone(&self) -> AVDeviceInfoList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AVDeviceInfoList
Source§impl Debug for AVDeviceInfoList
impl Debug for AVDeviceInfoList
impl Eq for AVDeviceInfoList
Source§impl PartialEq for AVDeviceInfoList
impl PartialEq for AVDeviceInfoList
Source§fn eq(&self, other: &AVDeviceInfoList) -> bool
fn eq(&self, other: &AVDeviceInfoList) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AVDeviceInfoList
Auto Trait Implementations§
impl !Send for AVDeviceInfoList
impl !Sync for AVDeviceInfoList
impl Freeze for AVDeviceInfoList
impl RefUnwindSafe for AVDeviceInfoList
impl Unpin for AVDeviceInfoList
impl UnsafeUnpin for AVDeviceInfoList
impl UnwindSafe for AVDeviceInfoList
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