Struct screen_13::prelude::vk::ExternalMemoryPropertiesBuilder
source · pub struct ExternalMemoryPropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§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>
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§
source§impl<'a> Deref for ExternalMemoryPropertiesBuilder<'a>
impl<'a> Deref for ExternalMemoryPropertiesBuilder<'a>
§type Target = ExternalMemoryProperties
type Target = ExternalMemoryProperties
The resulting type after dereferencing.
source§impl<'a> DerefMut for ExternalMemoryPropertiesBuilder<'a>
impl<'a> DerefMut for ExternalMemoryPropertiesBuilder<'a>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more