#[non_exhaustive]pub struct Deinterlace {
pub deinterlacing_filter: Option<DeinterlacingFilter>,
/* private fields */
}
Expand description
Deinterlace configuration for input video.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.deinterlacing_filter: Option<DeinterlacingFilter>
Specify the video deinterlacing filter. The default is yadif
.
Implementations§
Source§impl Deinterlace
impl Deinterlace
pub fn new() -> Self
Sourcepub fn set_deinterlacing_filter<T: Into<Option<DeinterlacingFilter>>>(
self,
v: T,
) -> Self
pub fn set_deinterlacing_filter<T: Into<Option<DeinterlacingFilter>>>( self, v: T, ) -> Self
Sets the value of deinterlacing_filter.
Note that all the setters affecting deinterlacing_filter
are mutually
exclusive.
Sourcepub fn yadif(&self) -> Option<&Box<YadifConfig>>
pub fn yadif(&self) -> Option<&Box<YadifConfig>>
The value of deinterlacing_filter
if it holds a Yadif
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_yadif<T: Into<Box<YadifConfig>>>(self, v: T) -> Self
pub fn set_yadif<T: Into<Box<YadifConfig>>>(self, v: T) -> Self
Sets the value of deinterlacing_filter
to hold a Yadif
.
Note that all the setters affecting deinterlacing_filter
are
mutually exclusive.
Sourcepub fn bwdif(&self) -> Option<&Box<BwdifConfig>>
pub fn bwdif(&self) -> Option<&Box<BwdifConfig>>
The value of deinterlacing_filter
if it holds a Bwdif
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_bwdif<T: Into<Box<BwdifConfig>>>(self, v: T) -> Self
pub fn set_bwdif<T: Into<Box<BwdifConfig>>>(self, v: T) -> Self
Sets the value of deinterlacing_filter
to hold a Bwdif
.
Note that all the setters affecting deinterlacing_filter
are
mutually exclusive.
Trait Implementations§
Source§impl Clone for Deinterlace
impl Clone for Deinterlace
Source§fn clone(&self) -> Deinterlace
fn clone(&self) -> Deinterlace
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 Deinterlace
impl Debug for Deinterlace
Source§impl Default for Deinterlace
impl Default for Deinterlace
Source§fn default() -> Deinterlace
fn default() -> Deinterlace
Returns the “default value” for a type. Read more
Source§impl Message for Deinterlace
impl Message for Deinterlace
Source§impl PartialEq for Deinterlace
impl PartialEq for Deinterlace
impl StructuralPartialEq for Deinterlace
Auto Trait Implementations§
impl Freeze for Deinterlace
impl RefUnwindSafe for Deinterlace
impl Send for Deinterlace
impl Sync for Deinterlace
impl Unpin for Deinterlace
impl UnwindSafe for Deinterlace
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