pub struct RenderRequest {Show 16 fields
pub composition: Option<String>,
pub script: Option<PathBuf>,
pub props: Option<PathBuf>,
pub output: PathBuf,
pub audio: Vec<PathBuf>,
pub width: u32,
pub height: u32,
pub fps: f64,
pub duration: u32,
pub backend: RenderBackend,
pub codec: RenderCodec,
pub frame_start: u32,
pub frame_end: Option<u32>,
pub timeout_seconds: Option<u64>,
pub crf: u32,
pub preset: String,
}Expand description
A validated render request independent from argument parsing.
Fields§
§composition: Option<String>§script: Option<PathBuf>§props: Option<PathBuf>§output: PathBuf§audio: Vec<PathBuf>§width: u32§height: u32§fps: f64§duration: u32§backend: RenderBackend§codec: RenderCodec§frame_start: u32§frame_end: Option<u32>§timeout_seconds: Option<u64>§crf: u32§preset: StringTrait Implementations§
Source§impl Clone for RenderRequest
impl Clone for RenderRequest
Source§fn clone(&self) -> RenderRequest
fn clone(&self) -> RenderRequest
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 RenderRequest
impl Debug for RenderRequest
Source§impl PartialEq for RenderRequest
impl PartialEq for RenderRequest
impl StructuralPartialEq for RenderRequest
Auto Trait Implementations§
impl Freeze for RenderRequest
impl RefUnwindSafe for RenderRequest
impl Send for RenderRequest
impl Sync for RenderRequest
impl Unpin for RenderRequest
impl UnsafeUnpin for RenderRequest
impl UnwindSafe for RenderRequest
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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