#[repr(C)]
pub struct NVFBC_API_FUNCTION_LIST {
Show 22 fields pub dwVersion: u32, pub nvFBCGetLastErrorStr: PNVFBCGETLASTERRORSTR, pub nvFBCCreateHandle: PNVFBCCREATEHANDLE, pub nvFBCDestroyHandle: PNVFBCDESTROYHANDLE, pub nvFBCGetStatus: PNVFBCGETSTATUS, pub nvFBCCreateCaptureSession: PNVFBCCREATECAPTURESESSION, pub nvFBCDestroyCaptureSession: PNVFBCDESTROYCAPTURESESSION, pub nvFBCToSysSetUp: PNVFBCTOSYSSETUP, pub nvFBCToSysGrabFrame: PNVFBCTOSYSGRABFRAME, pub nvFBCToCudaSetUp: PNVFBCTOCUDASETUP, pub nvFBCToCudaGrabFrame: PNVFBCTOCUDAGRABFRAME, pub pad1: *mut c_void, pub pad2: *mut c_void, pub pad3: *mut c_void, pub nvFBCBindContext: PNVFBCBINDCONTEXT, pub nvFBCReleaseContext: PNVFBCRELEASECONTEXT, pub pad4: *mut c_void, pub pad5: *mut c_void, pub pad6: *mut c_void, pub pad7: *mut c_void, pub nvFBCToGLSetUp: PNVFBCTOGLSETUP, pub nvFBCToGLGrabFrame: PNVFBCTOGLGRABFRAME,
}
Expand description

\ingroup FBC_STRUCT

Structure populated with API function pointers.

Fields§

§dwVersion: u32

!< [in] Must be set to NVFBC_VERSION.

§nvFBCGetLastErrorStr: PNVFBCGETLASTERRORSTR

!< [out] Pointer to ::NvFBCGetLastErrorStr().

§nvFBCCreateHandle: PNVFBCCREATEHANDLE

!< [out] Pointer to ::NvFBCCreateHandle().

§nvFBCDestroyHandle: PNVFBCDESTROYHANDLE

!< [out] Pointer to ::NvFBCDestroyHandle().

§nvFBCGetStatus: PNVFBCGETSTATUS

!< [out] Pointer to ::NvFBCGetStatus().

§nvFBCCreateCaptureSession: PNVFBCCREATECAPTURESESSION

!< [out] Pointer to ::NvFBCCreateCaptureSession().

§nvFBCDestroyCaptureSession: PNVFBCDESTROYCAPTURESESSION

!< [out] Pointer to ::NvFBCDestroyCaptureSession().

§nvFBCToSysSetUp: PNVFBCTOSYSSETUP

!< [out] Pointer to ::NvFBCToSysSetUp().

§nvFBCToSysGrabFrame: PNVFBCTOSYSGRABFRAME

!< [out] Pointer to ::NvFBCToSysGrabFrame().

§nvFBCToCudaSetUp: PNVFBCTOCUDASETUP

!< [out] Pointer to ::NvFBCToCudaSetUp().

§nvFBCToCudaGrabFrame: PNVFBCTOCUDAGRABFRAME

!< [out] Pointer to ::NvFBCToCudaGrabFrame().

§pad1: *mut c_void

!< [out] Retired. Do not use.

§pad2: *mut c_void

!< [out] Retired. Do not use.

§pad3: *mut c_void

!< [out] Retired. Do not use.

§nvFBCBindContext: PNVFBCBINDCONTEXT

!< [out] Pointer to ::NvFBCBindContext().

§nvFBCReleaseContext: PNVFBCRELEASECONTEXT

!< [out] Pointer to ::NvFBCReleaseContext().

§pad4: *mut c_void

!< [out] Retired. Do not use.

§pad5: *mut c_void

!< [out] Retired. Do not use.

§pad6: *mut c_void

!< [out] Retired. Do not use.

§pad7: *mut c_void

!< [out] Retired. Do not use.

§nvFBCToGLSetUp: PNVFBCTOGLSETUP

!< [out] Pointer to ::nvFBCToGLSetup().

§nvFBCToGLGrabFrame: PNVFBCTOGLGRABFRAME

!< [out] Pointer to ::nvFBCToGLGrabFrame().

Trait Implementations§

source§

impl Clone for NVFBC_API_FUNCTION_LIST

source§

fn clone(&self) -> NVFBC_API_FUNCTION_LIST

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NVFBC_API_FUNCTION_LIST

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for NVFBC_API_FUNCTION_LIST

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.