#[repr(C)]pub struct LayerProperties {
pub layer_name: [c_char; 256],
pub spec_version: u32,
pub implementation_version: u32,
pub description: [c_char; 256],
}Expand description
Native structure VkLayerProperties.
Fields§
§layer_name: [c_char; 256]Native field layerName.
spec_version: u32Native field specVersion.
implementation_version: u32Native field implementationVersion.
description: [c_char; 256]Native field description.
Implementations§
Source§impl LayerProperties
impl LayerProperties
Sourcepub fn set_layer_name(self, value: [c_char; 256]) -> Self
pub fn set_layer_name(self, value: [c_char; 256]) -> Self
Set native field layerName without native effects.
Sourcepub fn set_spec_version(self, value: u32) -> Self
pub fn set_spec_version(self, value: u32) -> Self
Set native field specVersion without native effects.
Sourcepub fn set_implementation_version(self, value: u32) -> Self
pub fn set_implementation_version(self, value: u32) -> Self
Set native field implementationVersion without native effects.
Sourcepub fn set_description(self, value: [c_char; 256]) -> Self
pub fn set_description(self, value: [c_char; 256]) -> Self
Set native field description without native effects.
Trait Implementations§
Source§impl Clone for LayerProperties
impl Clone for LayerProperties
impl Copy for LayerProperties
Auto Trait Implementations§
impl Forget for LayerProperties
impl Freeze for LayerProperties
impl Move for LayerProperties
impl RefUnwindSafe for LayerProperties
impl Send for LayerProperties
impl Sync for LayerProperties
impl Unpin for LayerProperties
impl UnsafeUnpin for LayerProperties
impl UnwindSafe for LayerProperties
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