#[repr(C)]pub struct AVDeviceInfoList {
pub devices: *mut *mut AVDeviceInfo,
pub nb_devices: c_int,
pub default_device: c_int,
}展开描述
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 实现§
源代码§impl Clone for AVDeviceInfoList
impl Clone for AVDeviceInfoList
源代码§fn clone(&self) -> AVDeviceInfoList
fn clone(&self) -> AVDeviceInfoList
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for AVDeviceInfoList
impl Debug for AVDeviceInfoList
源代码§impl PartialEq for AVDeviceInfoList
impl PartialEq for AVDeviceInfoList
impl Copy for AVDeviceInfoList
impl Eq for AVDeviceInfoList
impl StructuralPartialEq for AVDeviceInfoList
自动 trait 实现§
impl Freeze for AVDeviceInfoList
impl RefUnwindSafe for AVDeviceInfoList
impl !Send for AVDeviceInfoList
impl !Sync for AVDeviceInfoList
impl Unpin for AVDeviceInfoList
impl UnsafeUnpin for AVDeviceInfoList
impl UnwindSafe for AVDeviceInfoList
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多