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, ) -> 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§
Source§impl<'a> Deref for ExternalMemoryPropertiesBuilder<'a>
impl<'a> Deref for ExternalMemoryPropertiesBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExternalMemoryPropertiesBuilder<'a>
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