#[repr(C)]pub struct AVHWDeviceContext {
pub av_class: *const AVClass,
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 AVClass
§type_: AVHWDeviceType
§hwctx: *mut c_void
§free: Option<unsafe extern "C" fn(ctx: *mut AVHWDeviceContext)>
§user_opaque: *mut c_void
Trait Implementations§
Source§impl Clone for AVHWDeviceContext
impl Clone for AVHWDeviceContext
Source§fn clone(&self) -> AVHWDeviceContext
fn clone(&self) -> AVHWDeviceContext
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 AVHWDeviceContext
impl Debug for AVHWDeviceContext
Source§impl PartialEq for AVHWDeviceContext
impl PartialEq for AVHWDeviceContext
impl Copy for AVHWDeviceContext
impl Eq for AVHWDeviceContext
impl StructuralPartialEq for AVHWDeviceContext
Auto Trait Implementations§
impl Freeze for AVHWDeviceContext
impl RefUnwindSafe for AVHWDeviceContext
impl !Send for AVHWDeviceContext
impl !Sync for AVHWDeviceContext
impl Unpin for AVHWDeviceContext
impl UnwindSafe for AVHWDeviceContext
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