pub struct WgpuCapabilityEvidence {
pub timestamp_query: bool,
pub shader_f16: bool,
pub mappable_primary_buffers: bool,
}Expand description
Feature evidence recorded from a granted device.
Fields§
§timestamp_query: boolWhether timestamp queries are granted.
shader_f16: boolWhether shader f16 is granted.
mappable_primary_buffers: boolWhether primary buffers may be mapped.
Trait Implementations§
Source§impl Clone for WgpuCapabilityEvidence
impl Clone for WgpuCapabilityEvidence
Source§fn clone(&self) -> WgpuCapabilityEvidence
fn clone(&self) -> WgpuCapabilityEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WgpuCapabilityEvidence
impl Debug for WgpuCapabilityEvidence
impl Eq for WgpuCapabilityEvidence
Source§impl PartialEq for WgpuCapabilityEvidence
impl PartialEq for WgpuCapabilityEvidence
impl StructuralPartialEq for WgpuCapabilityEvidence
Auto Trait Implementations§
impl Freeze for WgpuCapabilityEvidence
impl RefUnwindSafe for WgpuCapabilityEvidence
impl Send for WgpuCapabilityEvidence
impl Sync for WgpuCapabilityEvidence
impl Unpin for WgpuCapabilityEvidence
impl UnsafeUnpin for WgpuCapabilityEvidence
impl UnwindSafe for WgpuCapabilityEvidence
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.