Struct linux_video_core::H264SpsConstraintFlag
source · #[repr(transparent)]pub struct H264SpsConstraintFlag { /* private fields */ }
Implementations§
source§impl H264SpsConstraintFlag
impl H264SpsConstraintFlag
pub const Set0: H264SpsConstraintFlag = _
pub const Set1: H264SpsConstraintFlag = _
pub const Set2: H264SpsConstraintFlag = _
pub const Set3: H264SpsConstraintFlag = _
pub const Set4: H264SpsConstraintFlag = _
pub const Set5: H264SpsConstraintFlag = _
sourcepub const fn intersects(&self, other: Self) -> bool
pub const fn intersects(&self, other: Self) -> bool
self intersects one of the other
(self & other) != 0 || other == 0
Trait Implementations§
source§impl Binary for H264SpsConstraintFlag
impl Binary for H264SpsConstraintFlag
source§impl BitAndAssign<H264SpsConstraintFlag> for H264SpsConstraintFlag
impl BitAndAssign<H264SpsConstraintFlag> for H264SpsConstraintFlag
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign<H264SpsConstraintFlag> for H264SpsConstraintFlag
impl BitOrAssign<H264SpsConstraintFlag> for H264SpsConstraintFlag
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign<H264SpsConstraintFlag> for H264SpsConstraintFlag
impl BitXorAssign<H264SpsConstraintFlag> for H264SpsConstraintFlag
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for H264SpsConstraintFlag
impl Clone for H264SpsConstraintFlag
source§fn clone(&self) -> H264SpsConstraintFlag
fn clone(&self) -> H264SpsConstraintFlag
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 H264SpsConstraintFlag
impl Debug for H264SpsConstraintFlag
source§impl Display for H264SpsConstraintFlag
impl Display for H264SpsConstraintFlag
source§impl From<H264SpsConstraintFlag> for u32
impl From<H264SpsConstraintFlag> for u32
source§fn from(val: H264SpsConstraintFlag) -> u32
fn from(val: H264SpsConstraintFlag) -> u32
Converts to this type from the input type.
source§impl From<u32> for H264SpsConstraintFlag
impl From<u32> for H264SpsConstraintFlag
source§impl Hash for H264SpsConstraintFlag
impl Hash for H264SpsConstraintFlag
source§impl LowerHex for H264SpsConstraintFlag
impl LowerHex for H264SpsConstraintFlag
source§impl Not for H264SpsConstraintFlag
impl Not for H264SpsConstraintFlag
source§impl Octal for H264SpsConstraintFlag
impl Octal for H264SpsConstraintFlag
source§impl Ord for H264SpsConstraintFlag
impl Ord for H264SpsConstraintFlag
source§fn cmp(&self, other: &H264SpsConstraintFlag) -> Ordering
fn cmp(&self, other: &H264SpsConstraintFlag) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<H264SpsConstraintFlag> for H264SpsConstraintFlag
impl PartialEq<H264SpsConstraintFlag> for H264SpsConstraintFlag
source§fn eq(&self, other: &H264SpsConstraintFlag) -> bool
fn eq(&self, other: &H264SpsConstraintFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<u32> for H264SpsConstraintFlag
impl PartialEq<u32> for H264SpsConstraintFlag
source§impl PartialOrd<H264SpsConstraintFlag> for H264SpsConstraintFlag
impl PartialOrd<H264SpsConstraintFlag> for H264SpsConstraintFlag
source§fn partial_cmp(&self, other: &H264SpsConstraintFlag) -> Option<Ordering>
fn partial_cmp(&self, other: &H264SpsConstraintFlag) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl UpperHex for H264SpsConstraintFlag
impl UpperHex for H264SpsConstraintFlag
impl Copy for H264SpsConstraintFlag
impl Eq for H264SpsConstraintFlag
impl StructuralEq for H264SpsConstraintFlag
impl StructuralPartialEq for H264SpsConstraintFlag
Auto Trait Implementations§
impl RefUnwindSafe for H264SpsConstraintFlag
impl Send for H264SpsConstraintFlag
impl Sync for H264SpsConstraintFlag
impl Unpin for H264SpsConstraintFlag
impl UnwindSafe for H264SpsConstraintFlag
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