Struct ash::vk::PipelineExecutablePropertiesKHR
source · #[repr(C)]pub struct PipelineExecutablePropertiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub stages: ShaderStageFlags,
pub name: [c_char; 256],
pub description: [c_char; 256],
pub subgroup_size: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§stages: ShaderStageFlags
§name: [c_char; 256]
§description: [c_char; 256]
§subgroup_size: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PipelineExecutablePropertiesKHR<'a>
impl<'a> PipelineExecutablePropertiesKHR<'a>
pub fn stages(self, stages: ShaderStageFlags) -> Self
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 subgroup_size(self, subgroup_size: u32) -> Self
Trait Implementations§
source§impl<'a> Clone for PipelineExecutablePropertiesKHR<'a>
impl<'a> Clone for PipelineExecutablePropertiesKHR<'a>
source§fn clone(&self) -> PipelineExecutablePropertiesKHR<'a>
fn clone(&self) -> PipelineExecutablePropertiesKHR<'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 PipelineExecutablePropertiesKHR<'_>
impl Debug for PipelineExecutablePropertiesKHR<'_>
source§impl Default for PipelineExecutablePropertiesKHR<'_>
impl Default for PipelineExecutablePropertiesKHR<'_>
source§impl<'a> TaggedStructure for PipelineExecutablePropertiesKHR<'a>
impl<'a> TaggedStructure for PipelineExecutablePropertiesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_EXECUTABLE_PROPERTIES_KHR
impl<'a> Copy for PipelineExecutablePropertiesKHR<'a>
impl Send for PipelineExecutablePropertiesKHR<'_>
impl Sync for PipelineExecutablePropertiesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineExecutablePropertiesKHR<'a>
impl<'a> RefUnwindSafe for PipelineExecutablePropertiesKHR<'a>
impl<'a> Unpin for PipelineExecutablePropertiesKHR<'a>
impl<'a> UnwindSafe for PipelineExecutablePropertiesKHR<'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
)