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