Struct linux_video_core::TimeCodeFlag
source · #[repr(transparent)]pub struct TimeCodeFlag { /* private fields */ }
Implementations§
source§impl TimeCodeFlag
impl TimeCodeFlag
pub const DropFrame: TimeCodeFlag = _
pub const ColorFrame: TimeCodeFlag = _
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 TimeCodeFlag
impl Binary for TimeCodeFlag
source§impl BitAnd<TimeCodeFlag> for TimeCodeFlag
impl BitAnd<TimeCodeFlag> for TimeCodeFlag
source§impl BitAndAssign<TimeCodeFlag> for TimeCodeFlag
impl BitAndAssign<TimeCodeFlag> for TimeCodeFlag
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr<TimeCodeFlag> for TimeCodeFlag
impl BitOr<TimeCodeFlag> for TimeCodeFlag
source§impl BitOrAssign<TimeCodeFlag> for TimeCodeFlag
impl BitOrAssign<TimeCodeFlag> for TimeCodeFlag
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor<TimeCodeFlag> for TimeCodeFlag
impl BitXor<TimeCodeFlag> for TimeCodeFlag
source§impl BitXorAssign<TimeCodeFlag> for TimeCodeFlag
impl BitXorAssign<TimeCodeFlag> for TimeCodeFlag
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for TimeCodeFlag
impl Clone for TimeCodeFlag
source§fn clone(&self) -> TimeCodeFlag
fn clone(&self) -> TimeCodeFlag
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 TimeCodeFlag
impl Debug for TimeCodeFlag
source§impl Display for TimeCodeFlag
impl Display for TimeCodeFlag
source§impl From<TimeCodeFlag> for u32
impl From<TimeCodeFlag> for u32
source§fn from(val: TimeCodeFlag) -> u32
fn from(val: TimeCodeFlag) -> u32
Converts to this type from the input type.
source§impl From<u32> for TimeCodeFlag
impl From<u32> for TimeCodeFlag
source§impl Hash for TimeCodeFlag
impl Hash for TimeCodeFlag
source§impl LowerHex for TimeCodeFlag
impl LowerHex for TimeCodeFlag
source§impl Not for TimeCodeFlag
impl Not for TimeCodeFlag
source§impl Octal for TimeCodeFlag
impl Octal for TimeCodeFlag
source§impl Ord for TimeCodeFlag
impl Ord for TimeCodeFlag
source§fn cmp(&self, other: &TimeCodeFlag) -> Ordering
fn cmp(&self, other: &TimeCodeFlag) -> 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<TimeCodeFlag> for TimeCodeFlag
impl PartialEq<TimeCodeFlag> for TimeCodeFlag
source§fn eq(&self, other: &TimeCodeFlag) -> bool
fn eq(&self, other: &TimeCodeFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<u32> for TimeCodeFlag
impl PartialEq<u32> for TimeCodeFlag
source§impl PartialOrd<TimeCodeFlag> for TimeCodeFlag
impl PartialOrd<TimeCodeFlag> for TimeCodeFlag
source§fn partial_cmp(&self, other: &TimeCodeFlag) -> Option<Ordering>
fn partial_cmp(&self, other: &TimeCodeFlag) -> 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 TimeCodeFlag
impl UpperHex for TimeCodeFlag
impl Copy for TimeCodeFlag
impl Eq for TimeCodeFlag
impl StructuralEq for TimeCodeFlag
impl StructuralPartialEq for TimeCodeFlag
Auto Trait Implementations§
impl RefUnwindSafe for TimeCodeFlag
impl Send for TimeCodeFlag
impl Sync for TimeCodeFlag
impl Unpin for TimeCodeFlag
impl UnwindSafe for TimeCodeFlag
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