Enum ffmpeg_sys_next::AVDiscard
source · [−]#[repr(i32)]
pub enum AVDiscard {
AVDISCARD_NONE,
AVDISCARD_DEFAULT,
AVDISCARD_NONREF,
AVDISCARD_BIDIR,
AVDISCARD_NONINTRA,
AVDISCARD_NONKEY,
AVDISCARD_ALL,
}Expand description
@ingroup lavc_decoding
Variants
AVDISCARD_NONE
< discard nothing
AVDISCARD_DEFAULT
< discard useless packets like 0 size packets in avi
AVDISCARD_NONREF
< discard all non reference
AVDISCARD_BIDIR
< discard all bidirectional frames
AVDISCARD_NONINTRA
< discard all non intra frames
AVDISCARD_NONKEY
< discard all frames except keyframes
AVDISCARD_ALL
< discard all
Trait Implementations
impl Copy for AVDiscard
impl Eq for AVDiscard
impl StructuralEq for AVDiscard
impl StructuralPartialEq for AVDiscard
Auto Trait Implementations
impl RefUnwindSafe for AVDiscard
impl Send for AVDiscard
impl Sync for AVDiscard
impl Unpin for AVDiscard
impl UnwindSafe for AVDiscard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more