#[repr(C)]pub struct AVDRMDeviceContext {
pub fd: c_int,
}展开描述
DRM device.
Allocated as AVHWDeviceContext.hwctx.
Fields§
§fd: c_intFile descriptor of DRM device.
This is used as the device to create frames on, and may also be used in some derivation and mapping operations.
If no device is required, set to -1.
trait 实现§
源代码§impl Clone for AVDRMDeviceContext
impl Clone for AVDRMDeviceContext
源代码§fn clone(&self) -> AVDRMDeviceContext
fn clone(&self) -> AVDRMDeviceContext
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 AVDRMDeviceContext
impl Debug for AVDRMDeviceContext
源代码§impl PartialEq for AVDRMDeviceContext
impl PartialEq for AVDRMDeviceContext
impl Copy for AVDRMDeviceContext
impl Eq for AVDRMDeviceContext
impl StructuralPartialEq for AVDRMDeviceContext
自动 trait 实现§
impl Freeze for AVDRMDeviceContext
impl RefUnwindSafe for AVDRMDeviceContext
impl Send for AVDRMDeviceContext
impl Sync for AVDRMDeviceContext
impl Unpin for AVDRMDeviceContext
impl UnsafeUnpin for AVDRMDeviceContext
impl UnwindSafe for AVDRMDeviceContext
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
从拥有的值可变地借用。 阅读更多