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_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 Implementations
sourceimpl Clone for AVDRMDeviceContext
impl Clone for AVDRMDeviceContext
sourcefn clone(&self) -> AVDRMDeviceContext
fn clone(&self) -> AVDRMDeviceContext
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AVDRMDeviceContext
impl Debug for AVDRMDeviceContext
sourceimpl PartialEq<AVDRMDeviceContext> for AVDRMDeviceContext
impl PartialEq<AVDRMDeviceContext> for AVDRMDeviceContext
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &AVDRMDeviceContext) -> bool
fn ne(&self, other: &AVDRMDeviceContext) -> bool
This method tests for !=.
impl Copy for AVDRMDeviceContext
impl Eq for AVDRMDeviceContext
impl StructuralEq for AVDRMDeviceContext
impl StructuralPartialEq for AVDRMDeviceContext
Auto Trait Implementations
impl RefUnwindSafe for AVDRMDeviceContext
impl Send for AVDRMDeviceContext
impl Sync for AVDRMDeviceContext
impl Unpin for AVDRMDeviceContext
impl UnwindSafe for AVDRMDeviceContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more