#[non_exhaustive]pub struct FrameGridMeasurement {
pub fps: f64,
pub frame_intervals: u32,
}Expand description
Valid declared frame-grid evidence for a clip.
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.fps: f64Declared frames per second used to validate the authored grid.
frame_intervals: u32Rounded number of duration intervals at Self::fps.
Trait Implementations§
Source§impl Clone for FrameGridMeasurement
impl Clone for FrameGridMeasurement
Source§fn clone(&self) -> FrameGridMeasurement
fn clone(&self) -> FrameGridMeasurement
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 moreimpl Copy for FrameGridMeasurement
Source§impl Debug for FrameGridMeasurement
impl Debug for FrameGridMeasurement
Source§impl<'de> Deserialize<'de> for FrameGridMeasurement
impl<'de> Deserialize<'de> for FrameGridMeasurement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FrameGridMeasurement
impl PartialEq for FrameGridMeasurement
Source§impl Serialize for FrameGridMeasurement
impl Serialize for FrameGridMeasurement
impl StructuralPartialEq for FrameGridMeasurement
Auto Trait Implementations§
impl Freeze for FrameGridMeasurement
impl RefUnwindSafe for FrameGridMeasurement
impl Send for FrameGridMeasurement
impl Sync for FrameGridMeasurement
impl Unpin for FrameGridMeasurement
impl UnsafeUnpin for FrameGridMeasurement
impl UnwindSafe for FrameGridMeasurement
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