pub enum EncodeMode {
CpuUpload,
GpuTexture(GpuBackend),
}Variants§
CpuUpload
GpuTexture(GpuBackend)
Trait Implementations§
Source§impl Clone for EncodeMode
impl Clone for EncodeMode
Source§fn clone(&self) -> EncodeMode
fn clone(&self) -> EncodeMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EncodeMode
impl Debug for EncodeMode
Source§impl PartialEq for EncodeMode
impl PartialEq for EncodeMode
Source§fn eq(&self, other: &EncodeMode) -> bool
fn eq(&self, other: &EncodeMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EncodeMode
impl Eq for EncodeMode
impl StructuralPartialEq for EncodeMode
Auto Trait Implementations§
impl Freeze for EncodeMode
impl RefUnwindSafe for EncodeMode
impl Send for EncodeMode
impl Sync for EncodeMode
impl Unpin for EncodeMode
impl UnsafeUnpin for EncodeMode
impl UnwindSafe for EncodeMode
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