pub struct FrameAnalysis {
pub intra_cost: u64,
pub inter_cost: u64,
pub has_prev: bool,
pub blocks: u32,
}Fields§
§intra_cost: u64§inter_cost: u64§has_prev: bool§blocks: u32Implementations§
Trait Implementations§
Source§impl Clone for FrameAnalysis
impl Clone for FrameAnalysis
Source§fn clone(&self) -> FrameAnalysis
fn clone(&self) -> FrameAnalysis
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 FrameAnalysis
impl Debug for FrameAnalysis
Source§impl Default for FrameAnalysis
impl Default for FrameAnalysis
Source§fn default() -> FrameAnalysis
fn default() -> FrameAnalysis
Returns the “default value” for a type. Read more
Source§impl PartialEq for FrameAnalysis
impl PartialEq for FrameAnalysis
Source§fn eq(&self, other: &FrameAnalysis) -> bool
fn eq(&self, other: &FrameAnalysis) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FrameAnalysis
impl StructuralPartialEq for FrameAnalysis
Auto Trait Implementations§
impl Freeze for FrameAnalysis
impl RefUnwindSafe for FrameAnalysis
impl Send for FrameAnalysis
impl Sync for FrameAnalysis
impl Unpin for FrameAnalysis
impl UnsafeUnpin for FrameAnalysis
impl UnwindSafe for FrameAnalysis
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more