Struct screen_13::prelude::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: [i8; 256]) -> LayerPropertiesBuilder<'a>
pub fn spec_version(self, spec_version: u32) -> LayerPropertiesBuilder<'a>
pub fn implementation_version( self, implementation_version: u32 ) -> LayerPropertiesBuilder<'a>
pub fn description(self, description: [i8; 256]) -> LayerPropertiesBuilder<'a>
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>
§type Target = LayerProperties
type Target = LayerProperties
The resulting type after dereferencing.
source§impl<'a> DerefMut for LayerPropertiesBuilder<'a>
impl<'a> DerefMut for LayerPropertiesBuilder<'a>
Auto Trait Implementations§
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