Struct ffmpeg_sys_next::AVHWDeviceContext
source · [−]#[repr(C)]pub struct AVHWDeviceContext {
pub av_class: *const AVClass,
pub internal: *mut AVHWDeviceInternal,
pub type_: AVHWDeviceType,
pub hwctx: *mut c_void,
pub free: Option<unsafe extern "C" fn(ctx: *mut AVHWDeviceContext)>,
pub user_opaque: *mut c_void,
}Fields
av_class: *const AVClassinternal: *mut AVHWDeviceInternaltype_: AVHWDeviceTypehwctx: *mut c_voidfree: Option<unsafe extern "C" fn(ctx: *mut AVHWDeviceContext)>user_opaque: *mut c_voidTrait Implementations
sourceimpl Clone for AVHWDeviceContext
impl Clone for AVHWDeviceContext
sourcefn clone(&self) -> AVHWDeviceContext
fn clone(&self) -> AVHWDeviceContext
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 AVHWDeviceContext
impl Debug for AVHWDeviceContext
sourceimpl PartialEq<AVHWDeviceContext> for AVHWDeviceContext
impl PartialEq<AVHWDeviceContext> for AVHWDeviceContext
sourcefn eq(&self, other: &AVHWDeviceContext) -> bool
fn eq(&self, other: &AVHWDeviceContext) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AVHWDeviceContext) -> bool
fn ne(&self, other: &AVHWDeviceContext) -> bool
This method tests for !=.
impl Copy for AVHWDeviceContext
impl Eq for AVHWDeviceContext
impl StructuralEq for AVHWDeviceContext
impl StructuralPartialEq for AVHWDeviceContext
Auto Trait Implementations
impl RefUnwindSafe for AVHWDeviceContext
impl !Send for AVHWDeviceContext
impl !Sync for AVHWDeviceContext
impl Unpin for AVHWDeviceContext
impl UnwindSafe for AVHWDeviceContext
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