Struct pilka_dyn::ash::vk::AndroidExternalMemoryAndroidHardwareBufferFn [−]
Fields
get_android_hardware_buffer_properties_android: extern "system" fn(Device, *const c_void, *mut AndroidHardwareBufferPropertiesANDROID) -> Result
get_memory_android_hardware_buffer_android: extern "system" fn(Device, *const MemoryGetAndroidHardwareBufferInfoANDROID, *mut *mut c_void) -> Result
Implementations
impl AndroidExternalMemoryAndroidHardwareBufferFn
impl AndroidExternalMemoryAndroidHardwareBufferFn
pub fn load<F>(_f: F) -> AndroidExternalMemoryAndroidHardwareBufferFn where
F: FnMut(&CStr) -> *const c_void,
F: FnMut(&CStr) -> *const c_void,
pub unsafe fn get_android_hardware_buffer_properties_android(
&self,
device: Device,
buffer: *const c_void,
p_properties: *mut AndroidHardwareBufferPropertiesANDROID
) -> Result
&self,
device: Device,
buffer: *const c_void,
p_properties: *mut AndroidHardwareBufferPropertiesANDROID
) -> Result
pub unsafe fn get_memory_android_hardware_buffer_android(
&self,
device: Device,
p_info: *const MemoryGetAndroidHardwareBufferInfoANDROID,
p_buffer: *mut *mut c_void
) -> Result
&self,
device: Device,
p_info: *const MemoryGetAndroidHardwareBufferInfoANDROID,
p_buffer: *mut *mut c_void
) -> Result
Trait Implementations
impl Clone for AndroidExternalMemoryAndroidHardwareBufferFn
pub fn clone(&self) -> AndroidExternalMemoryAndroidHardwareBufferFn
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Send for AndroidExternalMemoryAndroidHardwareBufferFn
impl Sync for AndroidExternalMemoryAndroidHardwareBufferFn
Auto Trait Implementations
impl RefUnwindSafe for AndroidExternalMemoryAndroidHardwareBufferFn
[src]
impl Unpin for AndroidExternalMemoryAndroidHardwareBufferFn
[src]
impl UnwindSafe for AndroidExternalMemoryAndroidHardwareBufferFn
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,