[][src]Struct ash::vk::AndroidExternalMemoryAndroidHardwareBufferFn

pub struct AndroidExternalMemoryAndroidHardwareBufferFn {
    pub get_android_hardware_buffer_properties_android: extern "system" fn(device: Device, buffer: *const AHardwareBuffer, p_properties: *mut AndroidHardwareBufferPropertiesANDROID) -> Result,
    pub get_memory_android_hardware_buffer_android: extern "system" fn(device: Device, p_info: *const MemoryGetAndroidHardwareBufferInfoANDROID, p_buffer: *mut *mut AHardwareBuffer) -> Result,
}

Fields

get_android_hardware_buffer_properties_android: extern "system" fn(device: Device, buffer: *const AHardwareBuffer, p_properties: *mut AndroidHardwareBufferPropertiesANDROID) -> Resultget_memory_android_hardware_buffer_android: extern "system" fn(device: Device, p_info: *const MemoryGetAndroidHardwareBufferInfoANDROID, p_buffer: *mut *mut AHardwareBuffer) -> Result

Methods

impl AndroidExternalMemoryAndroidHardwareBufferFn[src]

pub fn name() -> &'static CStr[src]

impl AndroidExternalMemoryAndroidHardwareBufferFn[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn get_android_hardware_buffer_properties_android(
    &self,
    device: Device,
    buffer: *const AHardwareBuffer,
    p_properties: *mut AndroidHardwareBufferPropertiesANDROID
) -> Result
[src]

pub unsafe fn get_memory_android_hardware_buffer_android(
    &self,
    device: Device,
    p_info: *const MemoryGetAndroidHardwareBufferInfoANDROID,
    p_buffer: *mut *mut AHardwareBuffer
) -> Result
[src]

Trait Implementations

impl Sync for AndroidExternalMemoryAndroidHardwareBufferFn[src]

impl Clone for AndroidExternalMemoryAndroidHardwareBufferFn[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Send for AndroidExternalMemoryAndroidHardwareBufferFn[src]

Auto Trait Implementations

impl Unpin for AndroidExternalMemoryAndroidHardwareBufferFn

impl UnwindSafe for AndroidExternalMemoryAndroidHardwareBufferFn

impl RefUnwindSafe for AndroidExternalMemoryAndroidHardwareBufferFn

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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