pub struct StreamPlan {
pub to_load: Vec<usize>,
pub to_evict: Vec<usize>,
}Expand description
The load / evict decisions produced by one StreamPlanner::plan call.
Fields§
§to_load: Vec<usize>Item ids whose background load should be dispatched this frame.
to_evict: Vec<usize>Item ids that should be evicted from the GPU this frame.
Trait Implementations§
Source§impl Debug for StreamPlan
impl Debug for StreamPlan
Source§impl Default for StreamPlan
impl Default for StreamPlan
Source§fn default() -> StreamPlan
fn default() -> StreamPlan
Returns the “default value” for a type. Read more
impl Eq for StreamPlan
Source§impl PartialEq for StreamPlan
impl PartialEq for StreamPlan
impl StructuralPartialEq for StreamPlan
Auto Trait Implementations§
impl Freeze for StreamPlan
impl RefUnwindSafe for StreamPlan
impl Send for StreamPlan
impl Sync for StreamPlan
impl Unpin for StreamPlan
impl UnsafeUnpin for StreamPlan
impl UnwindSafe for StreamPlan
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<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.