Struct AVDeviceInfo
#[repr(C)]pub struct AVDeviceInfo {
pub device_name: *mut i8,
pub device_description: *mut i8,
pub media_types: *mut i32,
pub nb_media_types: i32,
}
Expand description
Structure describes basic parameters of the device.
Fields§
§device_name: *mut i8
< device name, format depends on device
device_description: *mut i8
< human friendly name
media_types: *mut i32
< array indicating what media types(s), if any, a device can provide. If null, cannot provide any
nb_media_types: i32
< length of media_types array, 0 if device cannot provide any media types
Trait Implementations§
§impl Clone for AVDeviceInfo
impl Clone for AVDeviceInfo
§fn clone(&self) -> AVDeviceInfo
fn clone(&self) -> AVDeviceInfo
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 more§impl Debug for AVDeviceInfo
impl Debug for AVDeviceInfo
impl Copy for AVDeviceInfo
Auto Trait Implementations§
impl Freeze for AVDeviceInfo
impl RefUnwindSafe for AVDeviceInfo
impl !Send for AVDeviceInfo
impl !Sync for AVDeviceInfo
impl Unpin for AVDeviceInfo
impl UnwindSafe for AVDeviceInfo
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