pub struct WebmParams<'a> {
pub width: u32,
pub height: u32,
pub codec: WebmCodec,
pub timecode_scale_ns: u32,
pub frames: &'a [WebmFrame<'a>],
}Expand description
Parameters for mux_webm.
Fields§
§width: u32Picture width in pixels.
height: u32Picture height in pixels.
codec: WebmCodecThe codec of every frame.
timecode_scale_ns: u32Nanoseconds per TimecodeScale tick — 1_000_000 gives millisecond
timecodes (the WebM default).
frames: &'a [WebmFrame<'a>]The frames, in presentation order.
Auto Trait Implementations§
impl<'a> Forget for WebmParams<'a>
impl<'a> Freeze for WebmParams<'a>
impl<'a> Move for WebmParams<'a>
impl<'a> RefUnwindSafe for WebmParams<'a>
impl<'a> Send for WebmParams<'a>
impl<'a> Sync for WebmParams<'a>
impl<'a> Unpin for WebmParams<'a>
impl<'a> UnsafeUnpin for WebmParams<'a>
impl<'a> UnwindSafe for WebmParams<'a>
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
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