Enum ffav_sys::AVRounding [−][src]
#[repr(u32)] pub enum AVRounding { AV_ROUND_ZERO, AV_ROUND_INF, AV_ROUND_DOWN, AV_ROUND_UP, AV_ROUND_NEAR_INF, AV_ROUND_PASS_MINMAX, }
Variants
Implementations
impl AVRounding
[src]
impl AVRounding
[src]pub fn pass_min_max(self) -> Self
[src]
pub fn pass_min_max(self) -> Self
[src]Flag telling rescaling functions to pass INT64_MIN/MAX through unchanged, avoiding special cases for AV_NOPTS_VALUE.
Unlike other values of the enumeration AVRounding, this value is a bitmask that must be used in conjunction with another value of the enumeration through a bitwise OR, in order to set behavior for normal cases.
Trait Implementations
impl Clone for AVRounding
[src]
impl Clone for AVRounding
[src]fn clone(&self) -> AVRounding
[src]
fn clone(&self) -> AVRounding
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for AVRounding
[src]
impl Debug for AVRounding
[src]impl Default for AVRounding
[src]
impl Default for AVRounding
[src]impl Hash for AVRounding
[src]
impl Hash for AVRounding
[src]impl PartialEq<AVRounding> for AVRounding
[src]
impl PartialEq<AVRounding> for AVRounding
[src]impl Copy for AVRounding
[src]
impl Eq for AVRounding
[src]
impl StructuralEq for AVRounding
[src]
impl StructuralPartialEq for AVRounding
[src]
Auto Trait Implementations
impl RefUnwindSafe for AVRounding
impl Send for AVRounding
impl Sync for AVRounding
impl Unpin for AVRounding
impl UnwindSafe for AVRounding
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more