ash::vk

Type Alias PhysicalDeviceFeatures2KHR

source
pub type PhysicalDeviceFeatures2KHR<'a> = PhysicalDeviceFeatures2<'a>;

Aliased Type§

struct PhysicalDeviceFeatures2KHR<'a> {
    pub s_type: StructureType,
    pub p_next: *mut c_void,
    pub features: PhysicalDeviceFeatures,
    pub _marker: PhantomData<&'a ()>,
}

Fields§

§s_type: StructureType§p_next: *mut c_void§features: PhysicalDeviceFeatures§_marker: PhantomData<&'a ()>

Implementations

source§

impl<'a> PhysicalDeviceFeatures2<'a>

source

pub fn features(self, features: PhysicalDeviceFeatures) -> Self

source

pub fn push_next<T: ExtendsPhysicalDeviceFeatures2 + ?Sized>( self, next: &'a mut T, ) -> Self

Prepends the given extension struct between the root and the first pointer. This method only exists on structs that can be passed to a function directly. Only valid extension structs can be pushed into the chain. If the chain looks like A -> B -> C, and you call x.push_next(&mut D), then the chain will look like A -> D -> B -> C.

Trait Implementations

source§

impl<'a> Clone for PhysicalDeviceFeatures2<'a>

source§

fn clone(&self) -> PhysicalDeviceFeatures2<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for PhysicalDeviceFeatures2<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PhysicalDeviceFeatures2<'_>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'a> TaggedStructure for PhysicalDeviceFeatures2<'a>

source§

const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_FEATURES_2

source§

impl<'a> Copy for PhysicalDeviceFeatures2<'a>

source§

impl ExtendsDeviceCreateInfo for PhysicalDeviceFeatures2<'_>

source§

impl Send for PhysicalDeviceFeatures2<'_>

source§

impl Sync for PhysicalDeviceFeatures2<'_>