#[non_exhaustive]pub struct SelftestResult {
pub budget_percent: f32,
pub average_frame_time: Duration,
pub passed: bool,
}Expand description
What measure_av1 measured.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.budget_percent: f32The share of the per-frame time budget an average frame took, in percent (100 = exactly real time).
average_frame_time: DurationThe measured average encode time of one frame.
passed: boolWhether that is below DEFAULT_PASS_PERCENT.
Implementations§
Trait Implementations§
Source§impl Clone for SelftestResult
impl Clone for SelftestResult
impl Copy for SelftestResult
Source§impl Debug for SelftestResult
impl Debug for SelftestResult
Source§impl PartialEq for SelftestResult
impl PartialEq for SelftestResult
impl StructuralPartialEq for SelftestResult
Auto Trait Implementations§
impl Forget for SelftestResult
impl Freeze for SelftestResult
impl Move for SelftestResult
impl RefUnwindSafe for SelftestResult
impl Send for SelftestResult
impl Sync for SelftestResult
impl Unpin for SelftestResult
impl UnsafeUnpin for SelftestResult
impl UnwindSafe for SelftestResult
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