pub enum EncodingApi {
Wgpu,
Raw,
Undecided,
InternalUse,
}Expand description
The encoding API being used with a CommandEncoder.
Mixing APIs on the same encoder is not allowed.
Variants§
Implementations§
Source§impl EncodingApi
impl EncodingApi
pub(crate) fn set(&mut self, api: EncodingApi)
Trait Implementations§
Source§impl Clone for EncodingApi
impl Clone for EncodingApi
Source§fn clone(&self) -> EncodingApi
fn clone(&self) -> EncodingApi
Returns a copy of the value. Read more
1.0.0 · 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 EncodingApi
impl Debug for EncodingApi
Source§impl PartialEq for EncodingApi
impl PartialEq for EncodingApi
impl Copy for EncodingApi
impl Eq for EncodingApi
impl StructuralPartialEq for EncodingApi
Auto Trait Implementations§
impl Freeze for EncodingApi
impl RefUnwindSafe for EncodingApi
impl Send for EncodingApi
impl Sync for EncodingApi
impl Unpin for EncodingApi
impl UnwindSafe for EncodingApi
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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.§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