[][src]Struct openvr_sys::VR_IVRIOBuffer_FnTable

#[repr(C)]pub struct VR_IVRIOBuffer_FnTable {
    pub Open: Option<unsafe extern "C" fn(pchPath: *mut c_char, mode: EIOBufferMode, unElementSize: u32, unElements: u32, pulBuffer: *mut IOBufferHandle_t) -> EIOBufferError>,
    pub Close: Option<unsafe extern "C" fn(ulBuffer: IOBufferHandle_t) -> EIOBufferError>,
    pub Read: Option<unsafe extern "C" fn(ulBuffer: IOBufferHandle_t, pDst: *mut c_void, unBytes: u32, punRead: *mut u32) -> EIOBufferError>,
    pub Write: Option<unsafe extern "C" fn(ulBuffer: IOBufferHandle_t, pSrc: *mut c_void, unBytes: u32) -> EIOBufferError>,
    pub PropertyContainer: Option<unsafe extern "C" fn(ulBuffer: IOBufferHandle_t) -> PropertyContainerHandle_t>,
    pub HasReaders: Option<unsafe extern "C" fn(ulBuffer: IOBufferHandle_t) -> bool>,
}

Fields

Open: Option<unsafe extern "C" fn(pchPath: *mut c_char, mode: EIOBufferMode, unElementSize: u32, unElements: u32, pulBuffer: *mut IOBufferHandle_t) -> EIOBufferError>Close: Option<unsafe extern "C" fn(ulBuffer: IOBufferHandle_t) -> EIOBufferError>Read: Option<unsafe extern "C" fn(ulBuffer: IOBufferHandle_t, pDst: *mut c_void, unBytes: u32, punRead: *mut u32) -> EIOBufferError>Write: Option<unsafe extern "C" fn(ulBuffer: IOBufferHandle_t, pSrc: *mut c_void, unBytes: u32) -> EIOBufferError>PropertyContainer: Option<unsafe extern "C" fn(ulBuffer: IOBufferHandle_t) -> PropertyContainerHandle_t>HasReaders: Option<unsafe extern "C" fn(ulBuffer: IOBufferHandle_t) -> bool>

Trait Implementations

impl Clone for VR_IVRIOBuffer_FnTable[src]

impl Copy for VR_IVRIOBuffer_FnTable[src]

impl Debug for VR_IVRIOBuffer_FnTable[src]

Auto Trait Implementations

impl RefUnwindSafe for VR_IVRIOBuffer_FnTable

impl Send for VR_IVRIOBuffer_FnTable

impl Sync for VR_IVRIOBuffer_FnTable

impl Unpin for VR_IVRIOBuffer_FnTable

impl UnwindSafe for VR_IVRIOBuffer_FnTable

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.