[][src]Struct wgpu_conveyor::AutomatedBufferStats

pub struct AutomatedBufferStats {
    pub current_id: BeltBufferId,
    pub live_buffers: usize,
    pub current_size: Option<BufferAddress>,
}

Statistics about current buffers.

Fields

current_id: BeltBufferId

ID 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: usize

Total number of buffers that are in the queue or currently in flight.

current_size: Option<BufferAddress>

Current size of the underlying buffer.

Trait Implementations

impl Clone for AutomatedBufferStats[src]

impl Copy for AutomatedBufferStats[src]

impl Debug for AutomatedBufferStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.