Struct ash::vk::definitions::PipelineExecutableStatisticKHR
source · #[repr(C)]pub struct PipelineExecutableStatisticKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub name: [c_char; 256],
pub description: [c_char; 256],
pub format: PipelineExecutableStatisticFormatKHR,
pub value: PipelineExecutableStatisticValueKHR,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§name: [c_char; 256]
§description: [c_char; 256]
§format: PipelineExecutableStatisticFormatKHR
§value: PipelineExecutableStatisticValueKHR
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PipelineExecutableStatisticKHR<'a>
impl<'a> PipelineExecutableStatisticKHR<'a>
pub fn name(self, name: &CStr) -> Result<Self, CStrTooLargeForStaticArray>
pub fn name_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn description( self, description: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>
pub fn description_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn format(self, format: PipelineExecutableStatisticFormatKHR) -> Self
pub fn value(self, value: PipelineExecutableStatisticValueKHR) -> Self
Trait Implementations§
source§impl<'a> Clone for PipelineExecutableStatisticKHR<'a>
impl<'a> Clone for PipelineExecutableStatisticKHR<'a>
source§fn clone(&self) -> PipelineExecutableStatisticKHR<'a>
fn clone(&self) -> PipelineExecutableStatisticKHR<'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 Debug for PipelineExecutableStatisticKHR<'_>
impl Debug for PipelineExecutableStatisticKHR<'_>
source§impl Default for PipelineExecutableStatisticKHR<'_>
impl Default for PipelineExecutableStatisticKHR<'_>
source§impl<'a> TaggedStructure for PipelineExecutableStatisticKHR<'a>
impl<'a> TaggedStructure for PipelineExecutableStatisticKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_EXECUTABLE_STATISTIC_KHR
impl<'a> Copy for PipelineExecutableStatisticKHR<'a>
impl Send for PipelineExecutableStatisticKHR<'_>
impl Sync for PipelineExecutableStatisticKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineExecutableStatisticKHR<'a>
impl<'a> RefUnwindSafe for PipelineExecutableStatisticKHR<'a>
impl<'a> Unpin for PipelineExecutableStatisticKHR<'a>
impl<'a> UnwindSafe for PipelineExecutableStatisticKHR<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)