pub struct VideoCompositorOptions {
pub width: u32,
pub height: u32,
pub frame_rate: Rational,
pub background: Color,
}Expand description
The compositor’s fixed output definition. Every emitted frame is an
opaque [ffmpeg::format::Pixel::BGRA] frame at width x height.
Fields§
§width: u32§height: u32§frame_rate: Rational§background: ColorTrait Implementations§
Source§impl Clone for VideoCompositorOptions
impl Clone for VideoCompositorOptions
Source§fn clone(&self) -> VideoCompositorOptions
fn clone(&self) -> VideoCompositorOptions
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 VideoCompositorOptions
Source§impl Debug for VideoCompositorOptions
impl Debug for VideoCompositorOptions
Auto Trait Implementations§
impl Freeze for VideoCompositorOptions
impl RefUnwindSafe for VideoCompositorOptions
impl Send for VideoCompositorOptions
impl Sync for VideoCompositorOptions
impl Unpin for VideoCompositorOptions
impl UnsafeUnpin for VideoCompositorOptions
impl UnwindSafe for VideoCompositorOptions
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