Struct ash::vk::definitions::ApplicationInfo
source · #[repr(C)]pub struct ApplicationInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub p_application_name: *const c_char,
pub application_version: u32,
pub p_engine_name: *const c_char,
pub engine_version: u32,
pub api_version: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§p_application_name: *const c_char
§application_version: u32
§p_engine_name: *const c_char
§engine_version: u32
§api_version: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> ApplicationInfo<'a>
impl<'a> ApplicationInfo<'a>
pub fn application_name(self, application_name: &'a CStr) -> Self
pub unsafe fn application_name_as_c_str(&self) -> Option<&CStr>
pub fn application_version(self, application_version: u32) -> Self
pub fn engine_name(self, engine_name: &'a CStr) -> Self
pub unsafe fn engine_name_as_c_str(&self) -> Option<&CStr>
pub fn engine_version(self, engine_version: u32) -> Self
pub fn api_version(self, api_version: u32) -> Self
Trait Implementations§
source§impl<'a> Clone for ApplicationInfo<'a>
impl<'a> Clone for ApplicationInfo<'a>
source§fn clone(&self) -> ApplicationInfo<'a>
fn clone(&self) -> ApplicationInfo<'a>
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<'a> Debug for ApplicationInfo<'a>
impl<'a> Debug for ApplicationInfo<'a>
source§impl Default for ApplicationInfo<'_>
impl Default for ApplicationInfo<'_>
source§impl<'a> TaggedStructure for ApplicationInfo<'a>
impl<'a> TaggedStructure for ApplicationInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::APPLICATION_INFO
impl<'a> Copy for ApplicationInfo<'a>
impl Send for ApplicationInfo<'_>
impl Sync for ApplicationInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for ApplicationInfo<'a>
impl<'a> RefUnwindSafe for ApplicationInfo<'a>
impl<'a> Unpin for ApplicationInfo<'a>
impl<'a> UnwindSafe for ApplicationInfo<'a>
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