[−][src]Struct ash_molten::MoltenEntry
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]
&self,
create_info: &InstanceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Self::Instance, InstanceError>
fn fp_v1_0(&self) -> &EntryFnV1_0
[src]
fn static_fn(&self) -> &StaticFn
[src]
fn enumerate_instance_layer_properties(
&self
) -> Result<Vec<LayerProperties>, Result>
[src]
&self
) -> Result<Vec<LayerProperties>, Result>
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]
&self
) -> Result<Vec<ExtensionProperties>, Result>
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]
&self,
instance: Instance,
p_name: *const i8
) -> Option<unsafe extern "system" fn() -> c_void>
https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetInstanceProcAddr.html
Auto Trait Implementations
impl Sync for MoltenEntry
impl Unpin for MoltenEntry
impl Send for MoltenEntry
impl UnwindSafe for MoltenEntry
impl RefUnwindSafe for MoltenEntry
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,