pub struct RequestInput {
pub from: InputFrom,
pub source_id: Option<SourceId>,
pub range: TimeRange,
pub passes: Vec<Pass>,
pub size: Option<u32>,
pub frame_rate: Option<FrameRate>,
pub stream: Option<u32>,
pub sample_rate: Option<u32>,
pub channels: Option<AudioChannels>,
pub node: Option<AudioNodeRef>,
pub tap: Option<TapPoint>,
}Expand description
What a run reads.
Fields§
§from: InputFromThe clock read.
source_id: Option<SourceId>The source, for source input.
range: TimeRangeThe interval read, on that clock.
passes: Vec<Pass>The passes; none means one forward pass from the range start.
size: Option<u32>The longest edge of delivered frames; at most the descriptor’s max_size, its default.
frame_rate: Option<FrameRate>The frame rate of timeline frames; the project’s by default.
stream: Option<u32>The source’s audio stream ordinal, for source audio; the first by default.
sample_rate: Option<u32>The audio rate; the descriptor’s if fixed, else the project’s.
channels: Option<AudioChannels>The audio channels; the descriptor’s if fixed, else mono.
node: Option<AudioNodeRef>The track or bus whose sound is read, for timeline audio; the master output by default.
tap: Option<TapPoint>Where node is read, after its fader by default; only with node.
Implementations§
Trait Implementations§
Source§impl Clone for RequestInput
impl Clone for RequestInput
Source§impl Debug for RequestInput
impl Debug for RequestInput
Source§impl<'de> Deserialize<'de> for RequestInput
impl<'de> Deserialize<'de> for RequestInput
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 RequestInput
impl PartialEq for RequestInput
Source§impl Serialize for RequestInput
impl Serialize for RequestInput
impl StructuralPartialEq for RequestInput
Auto Trait Implementations§
impl Forget for RequestInput
impl Freeze for RequestInput
impl Move for RequestInput
impl RefUnwindSafe for RequestInput
impl Send for RequestInputwhere
RawVecInner: Send,
impl Sync for RequestInputwhere
RawVecInner: Sync,
impl Unpin for RequestInput
impl UnsafeUnpin for RequestInputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Pass>: UnsafeUnpin,
impl UnwindSafe for RequestInputwhere
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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