Struct ash::vk::LayerProperties
source · #[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
Fields§
§layer_name: [c_char; 256]
§spec_version: u32
§implementation_version: u32
§description: [c_char; 256]
Implementations§
source§impl LayerProperties
impl LayerProperties
pub fn layer_name( self, layer_name: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>
pub fn layer_name_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn spec_version(self, spec_version: u32) -> Self
pub fn implementation_version(self, implementation_version: u32) -> Self
pub fn description( self, description: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>
pub fn description_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
Trait Implementations§
source§impl Clone for LayerProperties
impl Clone for LayerProperties
source§fn clone(&self) -> LayerProperties
fn clone(&self) -> LayerProperties
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 LayerProperties
impl Debug for LayerProperties
source§impl Default for LayerProperties
impl Default for LayerProperties
impl Copy for LayerProperties
Auto Trait Implementations§
impl Freeze for LayerProperties
impl RefUnwindSafe for LayerProperties
impl Send for LayerProperties
impl Sync for LayerProperties
impl Unpin 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