Struct ash::vk::ExtensionProperties
source · #[repr(C)]pub struct ExtensionProperties {
pub extension_name: [c_char; 256],
pub spec_version: u32,
}
Expand description
Fields§
§extension_name: [c_char; 256]
§spec_version: u32
Implementations§
source§impl ExtensionProperties
impl ExtensionProperties
pub fn extension_name( self, extension_name: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>
pub fn extension_name_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn spec_version(self, spec_version: u32) -> Self
Trait Implementations§
source§impl Clone for ExtensionProperties
impl Clone for ExtensionProperties
source§fn clone(&self) -> ExtensionProperties
fn clone(&self) -> ExtensionProperties
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 ExtensionProperties
impl Debug for ExtensionProperties
source§impl Default for ExtensionProperties
impl Default for ExtensionProperties
impl Copy for ExtensionProperties
Auto Trait Implementations§
impl Freeze for ExtensionProperties
impl RefUnwindSafe for ExtensionProperties
impl Send for ExtensionProperties
impl Sync for ExtensionProperties
impl Unpin for ExtensionProperties
impl UnwindSafe for ExtensionProperties
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