pub struct Conceal { /* private fields */ }Implementations§
Source§impl Conceal
impl Conceal
pub const GUESS_MVS: Conceal
pub const DEBLOCK: Conceal
pub const FAVOR_INTER: Conceal
Sourcepub fn from_bits(bits: c_int) -> Option<Conceal>
pub fn from_bits(bits: c_int) -> Option<Conceal>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
Sourcepub const fn from_bits_truncate(bits: c_int) -> Conceal
pub const fn from_bits_truncate(bits: c_int) -> Conceal
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
Sourcepub const unsafe fn from_bits_unchecked(bits: c_int) -> Conceal
pub const unsafe fn from_bits_unchecked(bits: c_int) -> Conceal
Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
Sourcepub const fn intersects(&self, other: Conceal) -> bool
pub const fn intersects(&self, other: Conceal) -> bool
Returns true if there are flags common to both self and other.
Trait Implementations§
Source§impl BitAndAssign for Conceal
impl BitAndAssign for Conceal
Source§fn bitand_assign(&mut self, other: Conceal)
fn bitand_assign(&mut self, other: Conceal)
Disables all flags disabled in the set.
Source§impl BitOrAssign for Conceal
impl BitOrAssign for Conceal
Source§fn bitor_assign(&mut self, other: Conceal)
fn bitor_assign(&mut self, other: Conceal)
Adds the set of flags.
Source§impl BitXorAssign for Conceal
impl BitXorAssign for Conceal
Source§fn bitxor_assign(&mut self, other: Conceal)
fn bitxor_assign(&mut self, other: Conceal)
Toggles the set of flags.
Source§impl Extend<Conceal> for Conceal
impl Extend<Conceal> for Conceal
Source§fn extend<T: IntoIterator<Item = Conceal>>(&mut self, iterator: T)
fn extend<T: IntoIterator<Item = Conceal>>(&mut self, iterator: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<Conceal> for Conceal
impl FromIterator<Conceal> for Conceal
Source§impl Ord for Conceal
impl Ord for Conceal
Source§impl PartialOrd for Conceal
impl PartialOrd for Conceal
Source§impl SubAssign for Conceal
impl SubAssign for Conceal
Source§fn sub_assign(&mut self, other: Conceal)
fn sub_assign(&mut self, other: Conceal)
Disables all flags enabled in the set.
impl Copy for Conceal
impl Eq for Conceal
impl StructuralPartialEq for Conceal
Auto Trait Implementations§
impl Freeze for Conceal
impl RefUnwindSafe for Conceal
impl Send for Conceal
impl Sync for Conceal
impl Unpin for Conceal
impl UnwindSafe for Conceal
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