pub struct EntryPoints {
pub CreateInstance: extern "system" fn(_: *const InstanceCreateInfo, _: *const AllocationCallbacks, _: *mut Instance) -> Result,
pub EnumerateInstanceExtensionProperties: extern "system" fn(_: *const c_char, _: *mut u32, _: *mut ExtensionProperties) -> Result,
pub EnumerateInstanceLayerProperties: extern "system" fn(_: *mut u32, _: *mut LayerProperties) -> Result,
}
Fields§
§CreateInstance: extern "system" fn(_: *const InstanceCreateInfo, _: *const AllocationCallbacks, _: *mut Instance) -> Result
§EnumerateInstanceExtensionProperties: extern "system" fn(_: *const c_char, _: *mut u32, _: *mut ExtensionProperties) -> Result
§EnumerateInstanceLayerProperties: extern "system" fn(_: *mut u32, _: *mut LayerProperties) -> Result
Implementations§
Source§impl EntryPoints
impl EntryPoints
pub fn load<F>(f: F) -> EntryPoints
pub unsafe fn CreateInstance( &self, pCreateInfo: *const InstanceCreateInfo, pAllocator: *const AllocationCallbacks, pInstance: *mut Instance, ) -> Result
pub unsafe fn EnumerateInstanceExtensionProperties( &self, pLayerName: *const c_char, pPropertyCount: *mut u32, pProperties: *mut ExtensionProperties, ) -> Result
pub unsafe fn EnumerateInstanceLayerProperties( &self, pPropertyCount: *mut u32, pProperties: *mut LayerProperties, ) -> Result
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntryPoints
impl RefUnwindSafe for EntryPoints
impl Unpin for EntryPoints
impl UnwindSafe for EntryPoints
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more