#[non_exhaustive]pub enum TransferMode {
Shared,
GpuCopy,
CpuCopy,
Unsupported,
}Expand description
The cost class for moving a video image to or from a graphics resource.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for TransferMode
impl Clone for TransferMode
impl Copy for TransferMode
Source§impl Debug for TransferMode
impl Debug for TransferMode
impl Eq for TransferMode
Source§impl Hash for TransferMode
impl Hash for TransferMode
Source§impl PartialEq for TransferMode
impl PartialEq for TransferMode
impl StructuralPartialEq for TransferMode
Auto Trait Implementations§
impl Freeze for TransferMode
impl RefUnwindSafe for TransferMode
impl Send for TransferMode
impl Sync for TransferMode
impl Unpin for TransferMode
impl UnsafeUnpin for TransferMode
impl UnwindSafe for TransferMode
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