Struct pilka_lib::ash::vk::ExternalMemoryPropertiesBuilder [−]
#[repr(transparent)]pub struct ExternalMemoryPropertiesBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> ExternalMemoryPropertiesBuilder<'a>
impl<'a> ExternalMemoryPropertiesBuilder<'a>
pub fn external_memory_features(
self,
external_memory_features: ExternalMemoryFeatureFlags
) -> ExternalMemoryPropertiesBuilder<'a>
pub fn export_from_imported_handle_types(
self,
export_from_imported_handle_types: ExternalMemoryHandleTypeFlags
) -> ExternalMemoryPropertiesBuilder<'a>
pub fn compatible_handle_types(
self,
compatible_handle_types: ExternalMemoryHandleTypeFlags
) -> ExternalMemoryPropertiesBuilder<'a>
pub fn build(self) -> ExternalMemoryProperties
pub fn build(self) -> ExternalMemoryProperties
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Methods from Deref<Target = ExternalMemoryProperties>
Trait Implementations
impl<'a> Deref for ExternalMemoryPropertiesBuilder<'a>
impl<'a> Deref for ExternalMemoryPropertiesBuilder<'a>
type Target = ExternalMemoryProperties
type Target = ExternalMemoryProperties
The resulting type after dereferencing.
pub fn deref(&self) -> &<ExternalMemoryPropertiesBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<ExternalMemoryPropertiesBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for ExternalMemoryPropertiesBuilder<'a>
impl<'a> DerefMut for ExternalMemoryPropertiesBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <ExternalMemoryPropertiesBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <ExternalMemoryPropertiesBuilder<'a> as Deref>::Target
Mutably dereferences the value.