pub struct GpuAdapterInfo {
pub name: String,
pub backend: String,
pub driver: String,
pub class: AdapterClass,
pub timestamps: bool,
pub max_buffer_size: u64,
pub max_storage_binding: u64,
}Expand description
Description of the adapter in use.
Fields§
§name: String§backend: String§driver: String§class: AdapterClass§timestamps: boolGPU timestamp queries are available (kernel times are measured on the GPU).
max_buffer_size: u64§max_storage_binding: u64Trait Implementations§
Source§impl Clone for GpuAdapterInfo
impl Clone for GpuAdapterInfo
Source§impl Debug for GpuAdapterInfo
impl Debug for GpuAdapterInfo
Source§impl Display for GpuAdapterInfo
impl Display for GpuAdapterInfo
Source§impl PartialEq for GpuAdapterInfo
impl PartialEq for GpuAdapterInfo
impl StructuralPartialEq for GpuAdapterInfo
Auto Trait Implementations§
impl Forget for GpuAdapterInfo
impl Freeze for GpuAdapterInfo
impl Move for GpuAdapterInfo
impl RefUnwindSafe for GpuAdapterInfo
impl Send for GpuAdapterInfo
impl Sync for GpuAdapterInfo
impl Unpin for GpuAdapterInfo
impl UnsafeUnpin for GpuAdapterInfo
impl UnwindSafe for GpuAdapterInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more