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