pub enum DispatchComputePass {
Core(<ContextWgpuCore as InterfaceTypes>::ComputePass),
}
Variants§
Core(<ContextWgpuCore as InterfaceTypes>::ComputePass)
Available on
wgpu_core
only.Implementations§
source§impl DispatchComputePass
impl DispatchComputePass
pub fn as_core(&self) -> &<ContextWgpuCore as InterfaceTypes>::ComputePass
Available on
wgpu_core
only.pub fn as_core_mut( &mut self, ) -> &mut <ContextWgpuCore as InterfaceTypes>::ComputePass
Available on
wgpu_core
only.pub fn as_core_opt( &self, ) -> Option<&<ContextWgpuCore as InterfaceTypes>::ComputePass>
Available on
wgpu_core
only.pub fn as_core_mut_opt( &mut self, ) -> Option<&mut <ContextWgpuCore as InterfaceTypes>::ComputePass>
Available on
wgpu_core
only.Trait Implementations§
source§impl Debug for DispatchComputePass
impl Debug for DispatchComputePass
source§impl Deref for DispatchComputePass
impl Deref for DispatchComputePass
source§impl DerefMut for DispatchComputePass
impl DerefMut for DispatchComputePass
source§impl From<<ContextWgpuCore as InterfaceTypes>::ComputePass> for DispatchComputePass
Available on wgpu_core
only.
impl From<<ContextWgpuCore as InterfaceTypes>::ComputePass> for DispatchComputePass
Available on
wgpu_core
only.source§fn from(value: <ContextWgpuCore as InterfaceTypes>::ComputePass) -> Self
fn from(value: <ContextWgpuCore as InterfaceTypes>::ComputePass) -> Self
Converts to this type from the input type.
source§impl Hash for DispatchComputePass
impl Hash for DispatchComputePass
source§impl Ord for DispatchComputePass
impl Ord for DispatchComputePass
source§fn cmp(&self, other: &DispatchComputePass) -> Ordering
fn cmp(&self, other: &DispatchComputePass) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DispatchComputePass
impl PartialEq for DispatchComputePass
source§impl PartialOrd for DispatchComputePass
impl PartialOrd for DispatchComputePass
impl Eq for DispatchComputePass
impl StructuralPartialEq for DispatchComputePass
Auto Trait Implementations§
impl Freeze for DispatchComputePass
impl !RefUnwindSafe for DispatchComputePass
impl Send for DispatchComputePass
impl Sync for DispatchComputePass
impl Unpin for DispatchComputePass
impl !UnwindSafe for DispatchComputePass
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.