pub struct ResourceSpan {
pub first: usize,
pub last: usize,
pub persistent: bool,
}Expand description
Lebensspanne einer Ressource im sortierten Ablauf — die Grundlage für späteres Speicher-Aliasing.
Fields§
§first: usizeIndex in CompiledGraph::order des ersten zugreifenden Passes.
last: usizeIndex des letzten zugreifenden Passes.
persistent: boolWird die Ressource nach dem letzten Zugriff noch gebraucht (über den Frame hinaus, z. B. History-Puffer)?
Trait Implementations§
Source§impl Clone for ResourceSpan
impl Clone for ResourceSpan
Source§fn clone(&self) -> ResourceSpan
fn clone(&self) -> ResourceSpan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResourceSpan
impl Debug for ResourceSpan
impl Eq for ResourceSpan
Source§impl PartialEq for ResourceSpan
impl PartialEq for ResourceSpan
Source§fn eq(&self, other: &ResourceSpan) -> bool
fn eq(&self, other: &ResourceSpan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResourceSpan
Auto Trait Implementations§
impl Freeze for ResourceSpan
impl RefUnwindSafe for ResourceSpan
impl Send for ResourceSpan
impl Sync for ResourceSpan
impl Unpin for ResourceSpan
impl UnsafeUnpin for ResourceSpan
impl UnwindSafe for ResourceSpan
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