pub struct AutomatedBufferStats {
pub current_id: BeltBufferId,
pub live_buffers: usize,
pub current_size: Option<BufferAddress>,
}Expand description
Statistics about current buffers.
Fields§
§current_id: BeltBufferIdID of the current buffer. Each new buffer gets a sequentially higher number, so can be used to figure out how many buffers were made in total.
live_buffers: usizeTotal number of buffers that are in the queue or currently in flight.
current_size: Option<BufferAddress>Current size of the underlying buffer.
Trait Implementations§
Source§impl Clone for AutomatedBufferStats
impl Clone for AutomatedBufferStats
Source§fn clone(&self) -> AutomatedBufferStats
fn clone(&self) -> AutomatedBufferStats
Returns a duplicate of the value. Read more
1.0.0 · 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 AutomatedBufferStats
impl Debug for AutomatedBufferStats
impl Copy for AutomatedBufferStats
Auto Trait Implementations§
impl Freeze for AutomatedBufferStats
impl RefUnwindSafe for AutomatedBufferStats
impl Send for AutomatedBufferStats
impl Sync for AutomatedBufferStats
impl Unpin for AutomatedBufferStats
impl UnsafeUnpin for AutomatedBufferStats
impl UnwindSafe for AutomatedBufferStats
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