Struct pilka_lib::ash::vk::PhysicalDeviceToolPropertiesEXTBuilder [−]
#[repr(transparent)]pub struct PhysicalDeviceToolPropertiesEXTBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> PhysicalDeviceToolPropertiesEXTBuilder<'a>
impl<'a> PhysicalDeviceToolPropertiesEXTBuilder<'a>
pub fn name(self, name: [i8; 256]) -> PhysicalDeviceToolPropertiesEXTBuilder<'a>
pub fn version(
self,
version: [i8; 256]
) -> PhysicalDeviceToolPropertiesEXTBuilder<'a>
pub fn purposes(
self,
purposes: ToolPurposeFlagsEXT
) -> PhysicalDeviceToolPropertiesEXTBuilder<'a>
pub fn description(
self,
description: [i8; 256]
) -> PhysicalDeviceToolPropertiesEXTBuilder<'a>
pub fn layer(
self,
layer: [i8; 256]
) -> PhysicalDeviceToolPropertiesEXTBuilder<'a>
pub fn build(self) -> PhysicalDeviceToolPropertiesEXT
pub fn build(self) -> PhysicalDeviceToolPropertiesEXT
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 = PhysicalDeviceToolPropertiesEXT>
Trait Implementations
impl<'a> Deref for PhysicalDeviceToolPropertiesEXTBuilder<'a>
impl<'a> Deref for PhysicalDeviceToolPropertiesEXTBuilder<'a>
The resulting type after dereferencing.
pub fn deref(
&self
) -> &<PhysicalDeviceToolPropertiesEXTBuilder<'a> as Deref>::Target
pub fn deref(
&self
) -> &<PhysicalDeviceToolPropertiesEXTBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for PhysicalDeviceToolPropertiesEXTBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceToolPropertiesEXTBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceToolPropertiesEXTBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceToolPropertiesEXTBuilder<'a> as Deref>::Target
Mutably dereferences the value.