Struct ash::vk::definitions::PhysicalDeviceIDProperties
source · #[repr(C)]pub struct PhysicalDeviceIDProperties<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub device_uuid: [u8; 16],
pub driver_uuid: [u8; 16],
pub device_luid: [u8; 8],
pub device_node_mask: u32,
pub device_luid_valid: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§device_uuid: [u8; 16]
§driver_uuid: [u8; 16]
§device_luid: [u8; 8]
§device_node_mask: u32
§device_luid_valid: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceIDProperties<'a>
impl<'a> PhysicalDeviceIDProperties<'a>
pub fn device_uuid(self, device_uuid: [u8; 16]) -> Self
pub fn driver_uuid(self, driver_uuid: [u8; 16]) -> Self
pub fn device_luid(self, device_luid: [u8; 8]) -> Self
pub fn device_node_mask(self, device_node_mask: u32) -> Self
pub fn device_luid_valid(self, device_luid_valid: bool) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceIDProperties<'a>
impl<'a> Clone for PhysicalDeviceIDProperties<'a>
source§fn clone(&self) -> PhysicalDeviceIDProperties<'a>
fn clone(&self) -> PhysicalDeviceIDProperties<'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<'a> Debug for PhysicalDeviceIDProperties<'a>
impl<'a> Debug for PhysicalDeviceIDProperties<'a>
source§impl Default for PhysicalDeviceIDProperties<'_>
impl Default for PhysicalDeviceIDProperties<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceIDProperties<'a>
impl<'a> TaggedStructure for PhysicalDeviceIDProperties<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_ID_PROPERTIES
impl<'a> Copy for PhysicalDeviceIDProperties<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceIDProperties<'_>
impl Send for PhysicalDeviceIDProperties<'_>
impl Sync for PhysicalDeviceIDProperties<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceIDProperties<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceIDProperties<'a>
impl<'a> Unpin for PhysicalDeviceIDProperties<'a>
impl<'a> UnwindSafe for PhysicalDeviceIDProperties<'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