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> Freeze for ExtensionPropertiesBuilder<'a>
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