pub struct PhysicalDeviceFeatures2<'r>(/* private fields */);
Available on crate feature
VK_KHR_get_physical_device_properties2
only.Implementations§
Source§impl<'r> PhysicalDeviceFeatures2<'r>
impl<'r> PhysicalDeviceFeatures2<'r>
pub const fn new(old_features: VkPhysicalDeviceFeatures) -> Self
pub fn with_next(self, next: &'r mut (impl VulkanStructure + ?Sized)) -> Self
Trait Implementations§
Source§impl<'r> Clone for PhysicalDeviceFeatures2<'r>
impl<'r> Clone for PhysicalDeviceFeatures2<'r>
Source§fn clone(&self) -> PhysicalDeviceFeatures2<'r>
fn clone(&self) -> PhysicalDeviceFeatures2<'r>
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 VulkanSinkStructure for PhysicalDeviceFeatures2<'_>
impl VulkanSinkStructure for PhysicalDeviceFeatures2<'_>
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 PhysicalDeviceFeatures2<'_>
impl VulkanStructure for PhysicalDeviceFeatures2<'_>
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<'r> Freeze for PhysicalDeviceFeatures2<'r>
impl<'r> !RefUnwindSafe for PhysicalDeviceFeatures2<'r>
impl<'r> !Send for PhysicalDeviceFeatures2<'r>
impl<'r> !Sync for PhysicalDeviceFeatures2<'r>
impl<'r> Unpin for PhysicalDeviceFeatures2<'r>
impl<'r> !UnwindSafe for PhysicalDeviceFeatures2<'r>
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