Struct nannou::wgpu::AdapterInfo [−]
pub struct AdapterInfo { pub name: String, pub vendor: usize, pub device: usize, pub device_type: DeviceType, pub backend: Backend, }
Expand description
Information about an adapter.
Fields
name: String
Adapter name
vendor: usize
Vendor PCI id of the adapter
device: usize
PCI id of the adapter
device_type: DeviceType
Type of device
backend: Backend
Backend used for device
Trait Implementations
impl Clone for AdapterInfo
impl Clone for AdapterInfo
pub fn clone(&self) -> AdapterInfo
pub fn clone(&self) -> AdapterInfo
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for AdapterInfo
impl Debug for AdapterInfo
impl PartialEq<AdapterInfo> for AdapterInfo
impl PartialEq<AdapterInfo> for AdapterInfo
pub fn eq(&self, other: &AdapterInfo) -> bool
pub fn eq(&self, other: &AdapterInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &AdapterInfo) -> bool
pub fn ne(&self, other: &AdapterInfo) -> bool
This method tests for !=
.
impl StructuralPartialEq for AdapterInfo
Auto Trait Implementations
impl RefUnwindSafe for AdapterInfo
impl Send for AdapterInfo
impl Sync for AdapterInfo
impl Unpin for AdapterInfo
impl UnwindSafe for AdapterInfo
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined range,
otherwise an OutOfBounds
error is returned which contains the unclamped color. Read more
pub fn vzip(self) -> V