Struct ash::vk::ExternalMemoryPropertiesBuilder
source · [−]#[repr(transparent)]pub struct ExternalMemoryPropertiesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> ExternalMemoryPropertiesBuilder<'a>
impl<'a> ExternalMemoryPropertiesBuilder<'a>
pub fn external_memory_features(
self,
external_memory_features: ExternalMemoryFeatureFlags
) -> Self
pub fn export_from_imported_handle_types(
self,
export_from_imported_handle_types: ExternalMemoryHandleTypeFlags
) -> Self
pub fn compatible_handle_types(
self,
compatible_handle_types: ExternalMemoryHandleTypeFlags
) -> Self
sourcepub 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.
Trait Implementations
sourceimpl<'a> Deref for ExternalMemoryPropertiesBuilder<'a>
impl<'a> Deref for ExternalMemoryPropertiesBuilder<'a>
type Target = ExternalMemoryProperties
type Target = ExternalMemoryProperties
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ExternalMemoryPropertiesBuilder<'a>
impl<'a> Send for ExternalMemoryPropertiesBuilder<'a>
impl<'a> Sync for ExternalMemoryPropertiesBuilder<'a>
impl<'a> Unpin for ExternalMemoryPropertiesBuilder<'a>
impl<'a> UnwindSafe for ExternalMemoryPropertiesBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more