pub struct EncoderPoolStats {
pub acquired: u64,
pub allocated: u64,
pub copy_operations: u64,
pub copy_bytes: u64,
}Expand description
Surface-pool counters for one session.
Fields§
§acquired: u64Surfaces handed out.
allocated: u64Distinct backings the pool allocated to hand them out. Beyond the frames the host holds, this counts what the encoder and the GPU copy still referenced when the next surface was asked for.
copy_operations: u64Handoffs into a surface: a plane copy each on a copying backend.
copy_bytes: u64The bytes those handoffs moved.
Trait Implementations§
Source§impl Clone for EncoderPoolStats
impl Clone for EncoderPoolStats
impl Copy for EncoderPoolStats
Source§impl Debug for EncoderPoolStats
impl Debug for EncoderPoolStats
Source§impl Default for EncoderPoolStats
impl Default for EncoderPoolStats
impl Eq for EncoderPoolStats
Source§impl PartialEq for EncoderPoolStats
impl PartialEq for EncoderPoolStats
impl StructuralPartialEq for EncoderPoolStats
Auto Trait Implementations§
impl Freeze for EncoderPoolStats
impl RefUnwindSafe for EncoderPoolStats
impl Send for EncoderPoolStats
impl Sync for EncoderPoolStats
impl Unpin for EncoderPoolStats
impl UnsafeUnpin for EncoderPoolStats
impl UnwindSafe for EncoderPoolStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.