#[repr(u8)]pub enum Class {
Demand = 0,
CombatFill = 1,
Lead = 2,
Background = 3,
Audio = 4,
}Expand description
Request priority, most urgent first. The order is the order requests are issued to the transport and the order eviction defends them.
Variants§
Demand = 0
Needed by the current frame (invariant: always resident). Never deferred by the CPU budget and never evicted while wanted.
CombatFill = 1
Fill for the combat scope: must complete before combat music starts.
Lead = 2
Lead ring: needed soon, requested nearest first.
Background = 3
Opportunistic fill of whatever room is left.
Audio = 4
Audio banks and ring refills.
Implementations§
Trait Implementations§
Source§impl Ord for Class
impl Ord for Class
Source§impl PartialOrd for Class
impl PartialOrd for Class
impl Copy for Class
impl Eq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnsafeUnpin for Class
impl UnwindSafe for Class
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)