#[repr(C)]pub struct AVDeviceInfo {
pub device_name: *mut c_char,
pub device_description: *mut c_char,
pub media_types: *mut AVMediaType,
pub nb_media_types: c_int,
}展开描述
Structure describes basic parameters of the device.
Fields§
§device_name: *mut c_char< device name, format depends on device
device_description: *mut c_char< human friendly name
media_types: *mut AVMediaType< array indicating what media types(s), if any, a device can provide. If null, cannot provide any
nb_media_types: c_int< length of media_types array, 0 if device cannot provide any media types
trait 实现§
源代码§impl Clone for AVDeviceInfo
impl Clone for AVDeviceInfo
源代码§fn clone(&self) -> AVDeviceInfo
fn clone(&self) -> AVDeviceInfo
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 AVDeviceInfo
impl Debug for AVDeviceInfo
源代码§impl PartialEq for AVDeviceInfo
impl PartialEq for AVDeviceInfo
impl Copy for AVDeviceInfo
impl Eq for AVDeviceInfo
impl StructuralPartialEq for AVDeviceInfo
自动 trait 实现§
impl Freeze for AVDeviceInfo
impl RefUnwindSafe for AVDeviceInfo
impl !Send for AVDeviceInfo
impl !Sync for AVDeviceInfo
impl Unpin for AVDeviceInfo
impl UnsafeUnpin for AVDeviceInfo
impl UnwindSafe for AVDeviceInfo
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
从拥有的值可变地借用。 阅读更多