pub struct Shot {
pub width: u32,
pub height: u32,
pub frames: u64,
pub rate: f64,
pub start: f64,
}Expand description
The shot being reframed.
Fields§
§width: u32Source size in pixels.
height: u32§frames: u64Output frames in the shot.
rate: f64Output frame rate.
start: f64Source time of the clip’s first frame in seconds (source_range.start_time): keyframe
ts are source time, so frame i evaluates them at start + i / rate.
Trait Implementations§
impl Copy for Shot
impl StructuralPartialEq for Shot
Auto Trait Implementations§
impl Freeze for Shot
impl RefUnwindSafe for Shot
impl Send for Shot
impl Sync for Shot
impl Unpin for Shot
impl UnsafeUnpin for Shot
impl UnwindSafe for Shot
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