pub struct ApplicationInfoBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ApplicationInfoBuilder<'a>
impl<'a> ApplicationInfoBuilder<'a>
pub fn application_name(self, application_name: &'a CStr) -> Self
pub fn application_version(self, application_version: u32) -> Self
pub fn engine_name(self, engine_name: &'a CStr) -> Self
pub fn engine_version(self, engine_version: u32) -> Self
pub fn api_version(self, api_version: u32) -> Self
Sourcepub fn build(self) -> ApplicationInfo
pub fn build(self) -> ApplicationInfo
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 ApplicationInfoBuilder<'a>
impl<'a> Deref for ApplicationInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ApplicationInfoBuilder<'a>
impl<'a> RefUnwindSafe for ApplicationInfoBuilder<'a>
impl<'a> !Send for ApplicationInfoBuilder<'a>
impl<'a> !Sync for ApplicationInfoBuilder<'a>
impl<'a> Unpin for ApplicationInfoBuilder<'a>
impl<'a> UnwindSafe for ApplicationInfoBuilder<'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