Struct libavif::AddImageFlags
source · pub struct AddImageFlags(/* private fields */);
Expand description
Flags when adding an image to the encoder using Encoder::add_image
.
Implementations§
source§impl AddImageFlags
impl AddImageFlags
sourcepub const SINGLE: Self = _
pub const SINGLE: Self = _
Use this flag when encoding a single image. Signals “still_picture” to AV1 encoders, which
tweaks various compression rules. This is enabled automatically when using the
Encoder::encode
single-image encode path.
Trait Implementations§
source§impl Binary for AddImageFlags
impl Binary for AddImageFlags
source§impl BitAnd for AddImageFlags
impl BitAnd for AddImageFlags
§type Output = AddImageFlags
type Output = AddImageFlags
The resulting type after applying the
&
operator.source§impl BitAndAssign for AddImageFlags
impl BitAndAssign for AddImageFlags
source§fn bitand_assign(&mut self, rhs: AddImageFlags)
fn bitand_assign(&mut self, rhs: AddImageFlags)
Performs the
&=
operation. Read moresource§impl BitOr for AddImageFlags
impl BitOr for AddImageFlags
§type Output = AddImageFlags
type Output = AddImageFlags
The resulting type after applying the
|
operator.source§impl BitOrAssign for AddImageFlags
impl BitOrAssign for AddImageFlags
source§fn bitor_assign(&mut self, rhs: AddImageFlags)
fn bitor_assign(&mut self, rhs: AddImageFlags)
Performs the
|=
operation. Read moresource§impl BitXor for AddImageFlags
impl BitXor for AddImageFlags
§type Output = AddImageFlags
type Output = AddImageFlags
The resulting type after applying the
^
operator.source§impl BitXorAssign for AddImageFlags
impl BitXorAssign for AddImageFlags
source§fn bitxor_assign(&mut self, rhs: AddImageFlags)
fn bitxor_assign(&mut self, rhs: AddImageFlags)
Performs the
^=
operation. Read moresource§impl Clone for AddImageFlags
impl Clone for AddImageFlags
source§fn clone(&self) -> AddImageFlags
fn clone(&self) -> AddImageFlags
Returns a copy 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 AddImageFlags
impl Debug for AddImageFlags
source§impl Default for AddImageFlags
impl Default for AddImageFlags
source§impl From<AddImageFlags> for avifAddImageFlags
impl From<AddImageFlags> for avifAddImageFlags
source§fn from(flags: AddImageFlags) -> Self
fn from(flags: AddImageFlags) -> Self
Converts to this type from the input type.
source§impl LowerHex for AddImageFlags
impl LowerHex for AddImageFlags
source§impl Not for AddImageFlags
impl Not for AddImageFlags
source§impl Octal for AddImageFlags
impl Octal for AddImageFlags
source§impl PartialEq for AddImageFlags
impl PartialEq for AddImageFlags
source§fn eq(&self, other: &AddImageFlags) -> bool
fn eq(&self, other: &AddImageFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UpperHex for AddImageFlags
impl UpperHex for AddImageFlags
impl Copy for AddImageFlags
impl Eq for AddImageFlags
impl StructuralPartialEq for AddImageFlags
Auto Trait Implementations§
impl RefUnwindSafe for AddImageFlags
impl Send for AddImageFlags
impl Sync for AddImageFlags
impl Unpin for AddImageFlags
impl UnwindSafe for AddImageFlags
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