Struct vulkanalia::vk::LayerPropertiesBuilder
source · pub struct LayerPropertiesBuilder { /* private fields */ }
Expand description
A builder for a LayerProperties
.
Implementations§
source§impl LayerPropertiesBuilder
impl LayerPropertiesBuilder
pub fn layer_name( self, layer_name: impl Into<StringArray<MAX_EXTENSION_NAME_SIZE>> ) -> Self
pub fn spec_version(self, spec_version: u32) -> Self
pub fn implementation_version(self, implementation_version: u32) -> Self
pub fn description( self, description: impl Into<StringArray<MAX_DESCRIPTION_SIZE>> ) -> Self
pub fn build(self) -> LayerProperties
Trait Implementations§
source§impl Cast for LayerPropertiesBuilder
impl Cast for LayerPropertiesBuilder
§type Target = LayerProperties
type Target = LayerProperties
The other type this type can be used interchangeably with in FFI.
source§impl Clone for LayerPropertiesBuilder
impl Clone for LayerPropertiesBuilder
source§fn clone(&self) -> LayerPropertiesBuilder
fn clone(&self) -> LayerPropertiesBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LayerPropertiesBuilder
impl Debug for LayerPropertiesBuilder
source§impl Default for LayerPropertiesBuilder
impl Default for LayerPropertiesBuilder
source§fn default() -> LayerPropertiesBuilder
fn default() -> LayerPropertiesBuilder
Returns the “default value” for a type. Read more
source§impl Deref for LayerPropertiesBuilder
impl Deref for LayerPropertiesBuilder
source§impl DerefMut for LayerPropertiesBuilder
impl DerefMut for LayerPropertiesBuilder
impl Copy for LayerPropertiesBuilder
Auto Trait Implementations§
impl Freeze for LayerPropertiesBuilder
impl RefUnwindSafe for LayerPropertiesBuilder
impl Send for LayerPropertiesBuilder
impl Sync for LayerPropertiesBuilder
impl Unpin for LayerPropertiesBuilder
impl UnwindSafe for LayerPropertiesBuilder
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