pub struct VideoParameters {
pub width: NonZeroU32,
pub height: NonZeroU32,
pub target_framerate: Rational,
}👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Expand description
Things the encoder needs to know about the video
Fields§
§width: NonZeroU32👎Deprecated since 0.3.1:
§This crate has been renamed. Please migrate to gpu-video.
height: NonZeroU32👎Deprecated since 0.3.1:
§This crate has been renamed. Please migrate to gpu-video.
target_framerate: Rational👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
The expected/approximate framerate of the encoded video
Trait Implementations§
Source§impl Clone for VideoParameters
impl Clone for VideoParameters
Source§fn clone(&self) -> VideoParameters
fn clone(&self) -> VideoParameters
Returns a duplicate of the value. Read more
1.0.0 · 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 VideoParameters
impl Debug for VideoParameters
impl Copy for VideoParameters
Auto Trait Implementations§
impl Freeze for VideoParameters
impl RefUnwindSafe for VideoParameters
impl Send for VideoParameters
impl Sync for VideoParameters
impl Unpin for VideoParameters
impl UnsafeUnpin for VideoParameters
impl UnwindSafe for VideoParameters
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