Struct ash::vk::LayerPropertiesBuilder
source · [−]#[repr(transparent)]pub struct LayerPropertiesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for LayerPropertiesBuilder<'a>
impl<'a> Deref for LayerPropertiesBuilder<'a>
type Target = LayerProperties
type Target = LayerProperties
The resulting type after dereferencing.
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
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