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