Struct ash::vk::ExtensionPropertiesBuilder
source · pub struct ExtensionPropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ExtensionPropertiesBuilder<'a>
impl<'a> ExtensionPropertiesBuilder<'a>
pub fn extension_name(self, extension_name: [c_char; 256]) -> Self
pub fn spec_version(self, spec_version: u32) -> Self
sourcepub fn build(self) -> ExtensionProperties
pub fn build(self) -> ExtensionProperties
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 ExtensionPropertiesBuilder<'a>
impl<'a> Deref for ExtensionPropertiesBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ExtensionPropertiesBuilder<'a>
impl<'a> Send for ExtensionPropertiesBuilder<'a>
impl<'a> Sync for ExtensionPropertiesBuilder<'a>
impl<'a> Unpin for ExtensionPropertiesBuilder<'a>
impl<'a> UnwindSafe for ExtensionPropertiesBuilder<'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