#[repr(C)]pub struct VkPhysicalDeviceFeatures2KHR {
pub sType: VkStructureType,
pub pNext: *mut c_void,
pub features: VkPhysicalDeviceFeatures,
}Fields§
§sType: VkStructureType§pNext: *mut c_void§features: VkPhysicalDeviceFeaturesTrait Implementations§
Source§impl Clone for VkPhysicalDeviceFeatures2KHR
impl Clone for VkPhysicalDeviceFeatures2KHR
Source§fn clone(&self) -> VkPhysicalDeviceFeatures2KHR
fn clone(&self) -> VkPhysicalDeviceFeatures2KHR
Returns a duplicate 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 VkPhysicalDeviceFeatures2KHR
impl Debug for VkPhysicalDeviceFeatures2KHR
Source§impl TypedVulkanSinkStructure for VkPhysicalDeviceFeatures2KHR
impl TypedVulkanSinkStructure for VkPhysicalDeviceFeatures2KHR
Source§const TYPE: VkStructureType = 1_000_059_000i32
const TYPE: VkStructureType = 1_000_059_000i32
sType constant for this structure.Source§fn uninit_sink() -> MaybeUninit<Self>
fn uninit_sink() -> MaybeUninit<Self>
Constructs an uninitialized cell for this structure, that is ready to pass the api
Source§fn try_from_generic(g: &GenericVulkanSinkStructure) -> Option<&Self>
fn try_from_generic(g: &GenericVulkanSinkStructure) -> Option<&Self>
Cast structure ref only if sType matches
Source§impl TypedVulkanStructure for VkPhysicalDeviceFeatures2KHR
impl TypedVulkanStructure for VkPhysicalDeviceFeatures2KHR
Source§const TYPE: VkStructureType = 1_000_059_000i32
const TYPE: VkStructureType = 1_000_059_000i32
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>
Cast structure ref only if sType matches
Source§impl VulkanSinkStructure for VkPhysicalDeviceFeatures2KHR
impl VulkanSinkStructure for VkPhysicalDeviceFeatures2KHR
Source§fn as_generic(&self) -> &GenericVulkanSinkStructure
fn as_generic(&self) -> &GenericVulkanSinkStructure
Cast this structure ref to generic one. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanSinkStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanSinkStructure
Cast this structure mutable ref to generic one. This is same as transmute but must be safe.
Source§impl VulkanStructure for VkPhysicalDeviceFeatures2KHR
impl VulkanStructure for VkPhysicalDeviceFeatures2KHR
Source§fn as_generic(&self) -> &GenericVulkanStructure
fn as_generic(&self) -> &GenericVulkanStructure
Cast structure ref to generic. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
Cast structure mutable ref to generic. This is same as transmute but must be safe.
Auto Trait Implementations§
impl Freeze for VkPhysicalDeviceFeatures2KHR
impl RefUnwindSafe for VkPhysicalDeviceFeatures2KHR
impl !Send for VkPhysicalDeviceFeatures2KHR
impl !Sync for VkPhysicalDeviceFeatures2KHR
impl Unpin for VkPhysicalDeviceFeatures2KHR
impl UnwindSafe for VkPhysicalDeviceFeatures2KHR
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<S> SinkStructureChainQuery for Swhere
S: TypedVulkanSinkStructure,
impl<S> SinkStructureChainQuery for Swhere
S: TypedVulkanSinkStructure,
Source§fn iter_chain(&self) -> SinkStructureChainIterator<'_> ⓘ
fn iter_chain(&self) -> SinkStructureChainIterator<'_> ⓘ
Iterate pNext chain
fn query_structure_type( &self, ty: VkStructureType, ) -> Option<&GenericVulkanSinkStructure>
fn query_structure<S: TypedVulkanSinkStructure>(&self) -> Option<&S>
Source§impl<S> StructureChainQuery for Swhere
S: TypedVulkanStructure,
impl<S> StructureChainQuery for Swhere
S: TypedVulkanStructure,
Source§fn iter_chain(&self) -> StructureChainIterator<'_> ⓘ
fn iter_chain(&self) -> StructureChainIterator<'_> ⓘ
Iterate pNext chain