pub enum DispatchCommandEncoder {
Core(<ContextWgpuCore as InterfaceTypes>::CommandEncoder),
}
Variants§
Core(<ContextWgpuCore as InterfaceTypes>::CommandEncoder)
Available on
wgpu_core
only.Implementations§
source§impl DispatchCommandEncoder
impl DispatchCommandEncoder
pub fn as_core(&self) -> &<ContextWgpuCore as InterfaceTypes>::CommandEncoder
Available on
wgpu_core
only.pub fn as_core_mut( &mut self, ) -> &mut <ContextWgpuCore as InterfaceTypes>::CommandEncoder
Available on
wgpu_core
only.pub fn as_core_opt( &self, ) -> Option<&<ContextWgpuCore as InterfaceTypes>::CommandEncoder>
Available on
wgpu_core
only.pub fn as_core_mut_opt( &mut self, ) -> Option<&mut <ContextWgpuCore as InterfaceTypes>::CommandEncoder>
Available on
wgpu_core
only.Trait Implementations§
source§impl Debug for DispatchCommandEncoder
impl Debug for DispatchCommandEncoder
source§impl Deref for DispatchCommandEncoder
impl Deref for DispatchCommandEncoder
source§impl DerefMut for DispatchCommandEncoder
impl DerefMut for DispatchCommandEncoder
source§impl From<<ContextWgpuCore as InterfaceTypes>::CommandEncoder> for DispatchCommandEncoder
Available on wgpu_core
only.
impl From<<ContextWgpuCore as InterfaceTypes>::CommandEncoder> for DispatchCommandEncoder
Available on
wgpu_core
only.source§fn from(value: <ContextWgpuCore as InterfaceTypes>::CommandEncoder) -> Self
fn from(value: <ContextWgpuCore as InterfaceTypes>::CommandEncoder) -> Self
Converts to this type from the input type.
source§impl Hash for DispatchCommandEncoder
impl Hash for DispatchCommandEncoder
source§impl Ord for DispatchCommandEncoder
impl Ord for DispatchCommandEncoder
source§fn cmp(&self, other: &DispatchCommandEncoder) -> Ordering
fn cmp(&self, other: &DispatchCommandEncoder) -> 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 DispatchCommandEncoder
impl PartialEq for DispatchCommandEncoder
source§impl PartialOrd for DispatchCommandEncoder
impl PartialOrd for DispatchCommandEncoder
impl Eq for DispatchCommandEncoder
impl StructuralPartialEq for DispatchCommandEncoder
Auto Trait Implementations§
impl Freeze for DispatchCommandEncoder
impl !RefUnwindSafe for DispatchCommandEncoder
impl Send for DispatchCommandEncoder
impl Sync for DispatchCommandEncoder
impl Unpin for DispatchCommandEncoder
impl !UnwindSafe for DispatchCommandEncoder
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.