pub struct GpuEncodeEvent {
pub stage: GpuEncodeStage,
pub outcome: GpuEncodeOutcome,
pub backend: GpuBackend,
pub width: u32,
pub height: u32,
pub estimated_bytes: u64,
pub elapsed_us: Option<u128>,
pub message: Option<String>,
}Fields§
§stage: GpuEncodeStage§outcome: GpuEncodeOutcome§backend: GpuBackend§width: u32§height: u32§estimated_bytes: u64§elapsed_us: Option<u128>§message: Option<String>Trait Implementations§
Source§impl Clone for GpuEncodeEvent
impl Clone for GpuEncodeEvent
Source§fn clone(&self) -> GpuEncodeEvent
fn clone(&self) -> GpuEncodeEvent
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 GpuEncodeEvent
impl Debug for GpuEncodeEvent
Source§impl PartialEq for GpuEncodeEvent
impl PartialEq for GpuEncodeEvent
Source§fn eq(&self, other: &GpuEncodeEvent) -> bool
fn eq(&self, other: &GpuEncodeEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GpuEncodeEvent
impl StructuralPartialEq for GpuEncodeEvent
Auto Trait Implementations§
impl Freeze for GpuEncodeEvent
impl RefUnwindSafe for GpuEncodeEvent
impl Send for GpuEncodeEvent
impl Sync for GpuEncodeEvent
impl Unpin for GpuEncodeEvent
impl UnsafeUnpin for GpuEncodeEvent
impl UnwindSafe for GpuEncodeEvent
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