pub struct FuchsiaExtensionPointers {
    pub GetMemoryZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const MemoryGetZirconHandleInfoFUCHSIA, _: *mut zx_handle_t) -> Result,
    pub GetMemoryZirconHandlePropertiesFUCHSIA: extern "system" fn(_: Device, _: u32, _: zx_handle_t, _: *mut MemoryZirconHandlePropertiesFUCHSIA) -> Result,
    pub ImportSemaphoreZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const ImportSemaphoreZirconHandleInfoFUCHSIA) -> Result,
    pub GetSemaphoreZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const SemaphoreGetZirconHandleInfoFUCHSIA, _: *mut zx_handle_t) -> Result,
    pub CreateBufferCollectionFUCHSIA: extern "system" fn(_: Device, _: *const BufferCollectionCreateInfoFUCHSIA, _: *const AllocationCallbacks, _: *mut BufferCollectionFUCHSIA) -> Result,
    pub SetBufferCollectionImageConstraintsFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const ImageConstraintsInfoFUCHSIA) -> Result,
    pub SetBufferCollectionBufferConstraintsFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const BufferConstraintsInfoFUCHSIA) -> Result,
    pub DestroyBufferCollectionFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const AllocationCallbacks),
    pub GetBufferCollectionPropertiesFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *mut BufferCollectionPropertiesFUCHSIA) -> Result,
}

Fields§

§GetMemoryZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const MemoryGetZirconHandleInfoFUCHSIA, _: *mut zx_handle_t) -> Result§GetMemoryZirconHandlePropertiesFUCHSIA: extern "system" fn(_: Device, _: u32, _: zx_handle_t, _: *mut MemoryZirconHandlePropertiesFUCHSIA) -> Result§ImportSemaphoreZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const ImportSemaphoreZirconHandleInfoFUCHSIA) -> Result§GetSemaphoreZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const SemaphoreGetZirconHandleInfoFUCHSIA, _: *mut zx_handle_t) -> Result§CreateBufferCollectionFUCHSIA: extern "system" fn(_: Device, _: *const BufferCollectionCreateInfoFUCHSIA, _: *const AllocationCallbacks, _: *mut BufferCollectionFUCHSIA) -> Result§SetBufferCollectionImageConstraintsFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const ImageConstraintsInfoFUCHSIA) -> Result§SetBufferCollectionBufferConstraintsFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const BufferConstraintsInfoFUCHSIA) -> Result§DestroyBufferCollectionFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const AllocationCallbacks)§GetBufferCollectionPropertiesFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *mut BufferCollectionPropertiesFUCHSIA) -> Result

Implementations§

source§

impl FuchsiaExtensionPointers

source

pub fn load<F>(f: F) -> FuchsiaExtensionPointers
where F: FnMut(&CStr) -> *const c_void,

source

pub unsafe fn GetMemoryZirconHandleFUCHSIA( &self, device: Device, pGetZirconHandleInfo: *const MemoryGetZirconHandleInfoFUCHSIA, pZirconHandle: *mut zx_handle_t ) -> Result

§Safety

This wraps a direct call to vkGetMemoryZirconHandleFUCHSIA. The safety requirements of that function must be upheld when calling this one. See the extension function documentation for more details.

source

pub unsafe fn GetMemoryZirconHandlePropertiesFUCHSIA( &self, device: Device, handleType: u32, zirconHandle: zx_handle_t, pMemoryZirconHandleProperties: *mut MemoryZirconHandlePropertiesFUCHSIA ) -> Result

§Safety

This wraps a direct call to vkGetMemoryZirconHandlePropertiesFUCHSIA. The safety requirements of that function must be upheld when calling this one. See the extension function documentation for more details.

source

pub unsafe fn ImportSemaphoreZirconHandleFUCHSIA( &self, device: Device, pImportSemaphoreZirconHandleInfo: *const ImportSemaphoreZirconHandleInfoFUCHSIA ) -> Result

§Safety

This wraps a direct call to vkImportSemaphoreZirconHandleFUCHSIA. The safety requirements of that function must be upheld when calling this one. See the extension function documentation for more details.

source

pub unsafe fn GetSemaphoreZirconHandleFUCHSIA( &self, device: Device, pGetZirconHandleInfo: *const SemaphoreGetZirconHandleInfoFUCHSIA, pZirconHandle: *mut zx_handle_t ) -> Result

§Safety

This wraps a direct call to vkGetSemaphoreZirconHandleFUCHSIA. The safety requirements of that function must be upheld when calling this one. See the extension function documentation for more details.

source

pub unsafe fn CreateBufferCollectionFUCHSIA( &self, device: Device, pImportInfo: *const BufferCollectionCreateInfoFUCHSIA, pAllocator: *const AllocationCallbacks, pCollection: *mut BufferCollectionFUCHSIA ) -> Result

§Safety

This wraps a direct call to vkCreateBufferCollectionFUCHSIA. The safety requirements of that function must be upheld when calling this one. See the extension function documentation for more details.

source

pub unsafe fn SetBufferCollectionImageConstraintsFUCHSIA( &self, device: Device, collection: BufferCollectionFUCHSIA, pImageConstraintsInfo: *const ImageConstraintsInfoFUCHSIA ) -> Result

§Safety

This wraps a direct call to vkSetBufferCollectionImageConstraintsFUCHSIA. The safety requirements of that function must be upheld when calling this one. See the extension function documentation for more details.

source

pub unsafe fn SetBufferCollectionBufferConstraintsFUCHSIA( &self, device: Device, collection: BufferCollectionFUCHSIA, pBufferConstraintsInfo: *const BufferConstraintsInfoFUCHSIA ) -> Result

§Safety

This wraps a direct call to vkSetBufferCollectionBufferConstraintsFUCHSIA. The safety requirements of that function must be upheld when calling this one. See the extension function documentation for more details.

source

pub unsafe fn DestroyBufferCollectionFUCHSIA( &self, device: Device, collection: BufferCollectionFUCHSIA, pAllocator: *const AllocationCallbacks )

§Safety

This wraps a direct call to vkDestroyBufferCollectionFUCHSIA. The safety requirements of that function must be upheld when calling this one. See the extension function documentation for more details.

source

pub unsafe fn GetBufferCollectionPropertiesFUCHSIA( &self, device: Device, collection: BufferCollectionFUCHSIA, pProperties: *mut BufferCollectionPropertiesFUCHSIA ) -> Result

§Safety

This wraps a direct call to vkGetBufferCollectionPropertiesFUCHSIA. The safety requirements of that function must be upheld when calling this one. See the extension function documentation for more details.

Trait Implementations§

source§

impl Debug for FuchsiaExtensionPointers

source§

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

Formats the value using the given formatter. Read more

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, 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.