pub struct BufferLiveness {
pub first_appearance: usize,
pub last_appearance: usize,
pub pool_key: BufferPoolKey,
pub prototype: Buffer,
}Expand description
Liveness information for a buffer.
Fields§
§first_appearance: usizeIndex of first schedule step that uses this buffer.
last_appearance: usizeIndex of last schedule step that uses this buffer.
pool_key: BufferPoolKeyPool key for buffer grouping.
prototype: BufferRepresentative logical buffer for this allocation ID.
Trait Implementations§
Source§impl Clone for BufferLiveness
impl Clone for BufferLiveness
Source§fn clone(&self) -> BufferLiveness
fn clone(&self) -> BufferLiveness
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 moreAuto Trait Implementations§
impl Freeze for BufferLiveness
impl !RefUnwindSafe for BufferLiveness
impl Send for BufferLiveness
impl Sync for BufferLiveness
impl Unpin for BufferLiveness
impl UnsafeUnpin for BufferLiveness
impl !UnwindSafe for BufferLiveness
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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