pub enum DispatchRenderBundleEncoder {
Core(CoreRenderBundleEncoder),
Custom(DynRenderBundleEncoder),
}
Available on
custom
only.Variants§
Implementations§
Source§impl DispatchRenderBundleEncoder
impl DispatchRenderBundleEncoder
pub fn as_core(&self) -> &CoreRenderBundleEncoder
Available on
wgpu_core
only.pub fn as_core_mut(&mut self) -> &mut CoreRenderBundleEncoder
Available on
wgpu_core
only.pub fn as_core_opt(&self) -> Option<&CoreRenderBundleEncoder>
Available on
wgpu_core
only.pub fn as_core_mut_opt(&mut self) -> Option<&mut CoreRenderBundleEncoder>
Available on
wgpu_core
only.pub fn custom<T: RenderBundleEncoderInterface>(t: T) -> Self
Trait Implementations§
Source§impl Debug for DispatchRenderBundleEncoder
impl Debug for DispatchRenderBundleEncoder
Source§impl Deref for DispatchRenderBundleEncoder
impl Deref for DispatchRenderBundleEncoder
Source§impl From<CoreRenderBundleEncoder> for DispatchRenderBundleEncoder
Available on wgpu_core
only.
impl From<CoreRenderBundleEncoder> for DispatchRenderBundleEncoder
Available on
wgpu_core
only.Source§fn from(value: CoreRenderBundleEncoder) -> Self
fn from(value: CoreRenderBundleEncoder) -> Self
Converts to this type from the input type.
Source§impl Hash for DispatchRenderBundleEncoder
impl Hash for DispatchRenderBundleEncoder
Source§impl Ord for DispatchRenderBundleEncoder
impl Ord for DispatchRenderBundleEncoder
Source§fn cmp(&self, other: &DispatchRenderBundleEncoder) -> Ordering
fn cmp(&self, other: &DispatchRenderBundleEncoder) -> 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 DispatchRenderBundleEncoder
impl PartialOrd for DispatchRenderBundleEncoder
impl Eq for DispatchRenderBundleEncoder
impl StructuralPartialEq for DispatchRenderBundleEncoder
Auto Trait Implementations§
impl Freeze for DispatchRenderBundleEncoder
impl !RefUnwindSafe for DispatchRenderBundleEncoder
impl Send for DispatchRenderBundleEncoder
impl Sync for DispatchRenderBundleEncoder
impl Unpin for DispatchRenderBundleEncoder
impl !UnwindSafe for DispatchRenderBundleEncoder
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.