Struct ffmpeg_sys_next::AVDRMDeviceContext
source · #[repr(C)]pub struct AVDRMDeviceContext {
pub fd: c_int,
}
Expand description
DRM device.
Allocated as AVHWDeviceContext.hwctx.
Fields§
§fd: c_int
File 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 Implementations§
source§impl Clone for AVDRMDeviceContext
impl Clone for AVDRMDeviceContext
source§fn clone(&self) -> AVDRMDeviceContext
fn clone(&self) -> AVDRMDeviceContext
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 moresource§impl Debug for AVDRMDeviceContext
impl Debug for AVDRMDeviceContext
source§impl PartialEq for AVDRMDeviceContext
impl PartialEq for AVDRMDeviceContext
source§fn eq(&self, other: &AVDRMDeviceContext) -> bool
fn eq(&self, other: &AVDRMDeviceContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AVDRMDeviceContext
impl Eq for AVDRMDeviceContext
impl StructuralPartialEq for AVDRMDeviceContext
Auto Trait Implementations§
impl Freeze for AVDRMDeviceContext
impl RefUnwindSafe for AVDRMDeviceContext
impl Send for AVDRMDeviceContext
impl Sync for AVDRMDeviceContext
impl Unpin for AVDRMDeviceContext
impl UnwindSafe for AVDRMDeviceContext
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