Struct ash::vk::PhysicalDeviceToolPropertiesBuilder
source · pub struct PhysicalDeviceToolPropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceToolPropertiesBuilder<'a>
impl<'a> PhysicalDeviceToolPropertiesBuilder<'a>
pub fn name(self, name: [c_char; 256]) -> Self
pub fn version(self, version: [c_char; 256]) -> Self
pub fn purposes(self, purposes: ToolPurposeFlags) -> Self
pub fn description(self, description: [c_char; 256]) -> Self
pub fn layer(self, layer: [c_char; 256]) -> Self
sourcepub fn build(self) -> PhysicalDeviceToolProperties
pub fn build(self) -> PhysicalDeviceToolProperties
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 PhysicalDeviceToolPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceToolPropertiesBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceToolPropertiesBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceToolPropertiesBuilder<'a>
impl<'a> !Send for PhysicalDeviceToolPropertiesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceToolPropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceToolPropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceToolPropertiesBuilder<'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