Struct ash::EntryCustom [−][src]
pub struct EntryCustom<V: FunctionPointers, L> { /* fields omitted */ }
Methods
impl<V: FunctionPointers, L> EntryCustom<V, L>
[src]
impl<V: FunctionPointers, L> EntryCustom<V, L>
pub fn new_custom<OpenFunc, LoadFunc>(
o: OpenFunc,
l: LoadFunc
) -> Result<Self, LoadingError> where
OpenFunc: FnOnce() -> Result<L, LoadingError>,
LoadFunc: FnMut(&mut L, &CStr) -> *const c_void,
[src]
pub fn new_custom<OpenFunc, LoadFunc>(
o: OpenFunc,
l: LoadFunc
) -> Result<Self, LoadingError> where
OpenFunc: FnOnce() -> Result<L, LoadingError>,
LoadFunc: FnMut(&mut L, &CStr) -> *const c_void,
Trait Implementations
impl<V: Clone + FunctionPointers, L: Clone> Clone for EntryCustom<V, L> where
V::EntryFp: Clone,
[src]
impl<V: Clone + FunctionPointers, L: Clone> Clone for EntryCustom<V, L> where
V::EntryFp: Clone,
fn clone(&self) -> EntryCustom<V, L>
[src]
fn clone(&self) -> EntryCustom<V, L>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<L> EntryV1_0 for EntryCustom<V1_0, L>
[src]
impl<L> EntryV1_0 for EntryCustom<V1_0, L>
type Fp = V1_0
fn fp_v1_0(&self) -> &EntryFnV1_0
[src]
fn fp_v1_0(&self) -> &EntryFnV1_0
fn static_fn(&self) -> &StaticFn
[src]
fn static_fn(&self) -> &StaticFn
unsafe fn create_instance(
&self,
create_info: &InstanceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Instance<Self::Fp>, InstanceError>
[src]
unsafe fn create_instance(
&self,
create_info: &InstanceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Instance<Self::Fp>, InstanceError>
fn enumerate_instance_layer_properties(&self) -> VkResult<Vec<LayerProperties>>
[src]
fn enumerate_instance_layer_properties(&self) -> VkResult<Vec<LayerProperties>>
fn enumerate_instance_extension_properties(
&self
) -> VkResult<Vec<ExtensionProperties>>
[src]
fn enumerate_instance_extension_properties(
&self
) -> VkResult<Vec<ExtensionProperties>>
fn get_instance_proc_addr(
&self,
instance: Instance,
p_name: *const c_char
) -> PFN_vkVoidFunction
[src]
fn get_instance_proc_addr(
&self,
instance: Instance,
p_name: *const c_char
) -> PFN_vkVoidFunction
Auto Trait Implementations
impl<V, L> Send for EntryCustom<V, L> where
L: Send,
<V as FunctionPointers>::EntryFp: Send,
impl<V, L> Send for EntryCustom<V, L> where
L: Send,
<V as FunctionPointers>::EntryFp: Send,
impl<V, L> Sync for EntryCustom<V, L> where
L: Sync,
<V as FunctionPointers>::EntryFp: Sync,
impl<V, L> Sync for EntryCustom<V, L> where
L: Sync,
<V as FunctionPointers>::EntryFp: Sync,