Struct ash::vk::PhysicalDeviceToolPropertiesEXTBuilder
source · [−]#[repr(transparent)]pub struct PhysicalDeviceToolPropertiesEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PhysicalDeviceToolPropertiesEXTBuilder<'a>
impl<'a> PhysicalDeviceToolPropertiesEXTBuilder<'a>
pub fn name(self, name: [c_char; 256]) -> Self
pub fn version(self, version: [c_char; 256]) -> Self
pub fn purposes(self, purposes: ToolPurposeFlagsEXT) -> Self
pub fn description(self, description: [c_char; 256]) -> Self
pub fn layer(self, layer: [c_char; 256]) -> Self
sourcepub 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.
Trait Implementations
sourceimpl<'a> Deref for PhysicalDeviceToolPropertiesEXTBuilder<'a>
impl<'a> Deref for PhysicalDeviceToolPropertiesEXTBuilder<'a>
type Target = PhysicalDeviceToolPropertiesEXT
type Target = PhysicalDeviceToolPropertiesEXT
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceToolPropertiesEXTBuilder<'a>
impl<'a> !Send for PhysicalDeviceToolPropertiesEXTBuilder<'a>
impl<'a> !Sync for PhysicalDeviceToolPropertiesEXTBuilder<'a>
impl<'a> Unpin for PhysicalDeviceToolPropertiesEXTBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceToolPropertiesEXTBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more