pub struct RunContext {
pub range: TimeRange,
pub passes: Vec<Pass>,
pub from: InputFrom,
pub video: Option<(u32, VideoFormat)>,
pub audio: Option<(u32, AudioChannels, u32)>,
pub frame_rate: Option<FrameRate>,
}Expand description
What the extractor is told when the run begins.
Fields§
§range: TimeRangeThe interval read.
passes: Vec<Pass>The passes, in order.
from: InputFromThe clock read.
video: Option<(u32, VideoFormat)>For video, the longest edge of delivered frames and their format.
audio: Option<(u32, AudioChannels, u32)>For audio, the rate, channel layout and block size.
frame_rate: Option<FrameRate>For timeline frames, their rate.
Trait Implementations§
Source§impl Clone for RunContext
impl Clone for RunContext
Source§impl Debug for RunContext
impl Debug for RunContext
Source§impl PartialEq for RunContext
impl PartialEq for RunContext
impl StructuralPartialEq for RunContext
Auto Trait Implementations§
impl Forget for RunContext
impl Freeze for RunContext
impl Move for RunContext
impl RefUnwindSafe for RunContext
impl Send for RunContextwhere
RawVecInner: Send,
impl Sync for RunContextwhere
RawVecInner: Sync,
impl Unpin for RunContext
impl UnsafeUnpin for RunContext
impl UnwindSafe for RunContextwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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