Struct pilka_lib::ash::vk::ApplicationInfoBuilder [−]
#[repr(transparent)]pub struct ApplicationInfoBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> ApplicationInfoBuilder<'a>
impl<'a> ApplicationInfoBuilder<'a>
pub fn application_name(
self,
application_name: &'a CStr
) -> ApplicationInfoBuilder<'a>
pub fn application_version(
self,
application_version: u32
) -> ApplicationInfoBuilder<'a>
pub fn engine_name(self, engine_name: &'a CStr) -> ApplicationInfoBuilder<'a>
pub fn engine_version(self, engine_version: u32) -> ApplicationInfoBuilder<'a>
pub fn api_version(self, api_version: u32) -> ApplicationInfoBuilder<'a>
pub 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.
Methods from Deref<Target = ApplicationInfo>
Trait Implementations
impl<'a> Deref for ApplicationInfoBuilder<'a>
impl<'a> Deref for ApplicationInfoBuilder<'a>
type Target = ApplicationInfo
type Target = ApplicationInfo
The resulting type after dereferencing.
pub fn deref(&self) -> &<ApplicationInfoBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<ApplicationInfoBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for ApplicationInfoBuilder<'a>
impl<'a> DerefMut for ApplicationInfoBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <ApplicationInfoBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <ApplicationInfoBuilder<'a> as Deref>::Target
Mutably dereferences the value.