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