Struct ash::vk::LayerPropertiesBuilder
source · pub struct LayerPropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> LayerPropertiesBuilder<'a>
impl<'a> LayerPropertiesBuilder<'a>
pub fn layer_name(self, layer_name: [c_char; 256]) -> Self
pub fn spec_version(self, spec_version: u32) -> Self
pub fn implementation_version(self, implementation_version: u32) -> Self
pub fn description(self, description: [c_char; 256]) -> Self
sourcepub fn build(self) -> LayerProperties
pub fn build(self) -> LayerProperties
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 LayerPropertiesBuilder<'a>
impl<'a> Deref for LayerPropertiesBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for LayerPropertiesBuilder<'a>
impl<'a> RefUnwindSafe for LayerPropertiesBuilder<'a>
impl<'a> Send for LayerPropertiesBuilder<'a>
impl<'a> Sync for LayerPropertiesBuilder<'a>
impl<'a> Unpin for LayerPropertiesBuilder<'a>
impl<'a> UnwindSafe for LayerPropertiesBuilder<'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