pub struct RequestedWgpuProfile {
pub limits: WgpuLimitEvidence,
pub timestamp_query: bool,
pub shader_f16: bool,
}Expand description
Requested limits and optional features passed to wgpu.
Fields§
§limits: WgpuLimitEvidenceRequested device limits.
timestamp_query: boolWhether timestamp queries were requested.
shader_f16: boolWhether shader f16 was requested.
Trait Implementations§
Source§impl Clone for RequestedWgpuProfile
impl Clone for RequestedWgpuProfile
Source§fn clone(&self) -> RequestedWgpuProfile
fn clone(&self) -> RequestedWgpuProfile
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 RequestedWgpuProfile
impl Debug for RequestedWgpuProfile
impl Eq for RequestedWgpuProfile
Source§impl PartialEq for RequestedWgpuProfile
impl PartialEq for RequestedWgpuProfile
impl StructuralPartialEq for RequestedWgpuProfile
Auto Trait Implementations§
impl Freeze for RequestedWgpuProfile
impl RefUnwindSafe for RequestedWgpuProfile
impl Send for RequestedWgpuProfile
impl Sync for RequestedWgpuProfile
impl Unpin for RequestedWgpuProfile
impl UnsafeUnpin for RequestedWgpuProfile
impl UnwindSafe for RequestedWgpuProfile
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.