pub enum TransferPriority {
Low,
Normal,
High,
Critical,
}
Expand description
Priority levels for GPU memory transfers
Variants§
Trait Implementations§
Source§impl Clone for TransferPriority
impl Clone for TransferPriority
Source§fn clone(&self) -> TransferPriority
fn clone(&self) -> TransferPriority
Returns a duplicate 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 TransferPriority
impl Debug for TransferPriority
Source§impl Ord for TransferPriority
impl Ord for TransferPriority
Source§fn cmp(&self, other: &TransferPriority) -> Ordering
fn cmp(&self, other: &TransferPriority) -> 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 PartialEq for TransferPriority
impl PartialEq for TransferPriority
Source§impl PartialOrd for TransferPriority
impl PartialOrd for TransferPriority
impl Copy for TransferPriority
impl Eq for TransferPriority
impl StructuralPartialEq for TransferPriority
Auto Trait Implementations§
impl Freeze for TransferPriority
impl RefUnwindSafe for TransferPriority
impl Send for TransferPriority
impl Sync for TransferPriority
impl Unpin for TransferPriority
impl UnwindSafe for TransferPriority
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more