pub struct DeviceSummary { /* private fields */ }Expand description
Discovery-only identity for an enumerated Vulkan device.
Includes software and unsupported devices. Discovery creates no logical device or pipelines and does not imply OA admission. Indices belong to the current loader/ICD enumeration; they are not persistent device identities.
Implementations§
Source§impl DeviceSummary
impl DeviceSummary
Sourcepub const fn index(&self) -> usize
pub const fn index(&self) -> usize
Physical-device ordinal accepted by crate::runtime::DeviceSelection::Index.
Sourcepub const fn kind(&self) -> DeviceKind
pub const fn kind(&self) -> DeviceKind
Driver-reported device kind, without a performance ranking.
Sourcepub fn api_version(&self) -> &str
pub fn api_version(&self) -> &str
Reported Vulkan API version; admission checks capabilities separately.
Trait Implementations§
Source§impl Clone for DeviceSummary
impl Clone for DeviceSummary
Source§impl Debug for DeviceSummary
impl Debug for DeviceSummary
impl Eq for DeviceSummary
Source§impl PartialEq for DeviceSummary
impl PartialEq for DeviceSummary
impl StructuralPartialEq for DeviceSummary
Auto Trait Implementations§
impl Forget for DeviceSummary
impl Freeze for DeviceSummary
impl Move for DeviceSummary
impl RefUnwindSafe for DeviceSummary
impl Send for DeviceSummary
impl Sync for DeviceSummary
impl Unpin for DeviceSummary
impl UnsafeUnpin for DeviceSummary
impl UnwindSafe for DeviceSummary
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