[][src]Struct ash_molten::MoltenEntry

pub struct MoltenEntry { /* fields omitted */ }

The entry point for the statically linked molten library

Methods

impl MoltenEntry[src]

pub fn load() -> Result<MoltenEntry, LoadingError>[src]

Fetches the function pointer to get_instance_proc_addr which is statically linked. This function can not fail.

Trait Implementations

impl EntryV1_0 for MoltenEntry[src]

type Instance = Instance

unsafe fn create_instance(
    &self,
    create_info: &InstanceCreateInfo,
    allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Self::Instance, InstanceError>
[src]

fn enumerate_instance_layer_properties(
    &self
) -> Result<Vec<LayerProperties>, Result>
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumerateInstanceLayerProperties.html

fn enumerate_instance_extension_properties(
    &self
) -> Result<Vec<ExtensionProperties>, Result>
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumerateInstanceExtensionProperties.html

fn get_instance_proc_addr(
    &self,
    instance: Instance,
    p_name: *const i8
) -> Option<unsafe extern "system" fn() -> c_void>
[src]

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetInstanceProcAddr.html

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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