pub struct GpuDeviceDescriptor {
pub id: BackendId,
pub name: String,
pub api: String,
pub features: GpuFeatures,
}Expand description
Runtime GPU identity for diagnostics and selection.
Fields§
§id: BackendIdStable operation-provider/device identifier.
name: StringHuman-readable adapter name.
api: StringDriver/API name, e.g. CUDA, Metal, Vulkan, or WebGPU.
features: GpuFeaturesRelevant features.
Trait Implementations§
Source§impl Clone for GpuDeviceDescriptor
impl Clone for GpuDeviceDescriptor
Source§fn clone(&self) -> GpuDeviceDescriptor
fn clone(&self) -> GpuDeviceDescriptor
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 Debug for GpuDeviceDescriptor
impl Debug for GpuDeviceDescriptor
Source§impl PartialEq for GpuDeviceDescriptor
impl PartialEq for GpuDeviceDescriptor
impl Eq for GpuDeviceDescriptor
impl StructuralPartialEq for GpuDeviceDescriptor
Auto Trait Implementations§
impl Freeze for GpuDeviceDescriptor
impl RefUnwindSafe for GpuDeviceDescriptor
impl Send for GpuDeviceDescriptor
impl Sync for GpuDeviceDescriptor
impl Unpin for GpuDeviceDescriptor
impl UnwindSafe for GpuDeviceDescriptor
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