pub enum ThreadClass {
Frame,
Background,
}Expand description
Which side of the frame a thread works on.
Variants§
Frame
On the frame’s critical path: the render thread’s encode → acquire → submit tail.
Background
Off the frame’s critical path: the background runtime’s blocking-pool threads.
Trait Implementations§
Source§impl Clone for ThreadClass
impl Clone for ThreadClass
impl Copy for ThreadClass
Source§impl Debug for ThreadClass
impl Debug for ThreadClass
impl Eq for ThreadClass
Source§impl PartialEq for ThreadClass
impl PartialEq for ThreadClass
impl StructuralPartialEq for ThreadClass
Auto Trait Implementations§
impl Freeze for ThreadClass
impl RefUnwindSafe for ThreadClass
impl Send for ThreadClass
impl Sync for ThreadClass
impl Unpin for ThreadClass
impl UnsafeUnpin for ThreadClass
impl UnwindSafe for ThreadClass
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.