Struct linux_video_core::Lock
source · #[repr(transparent)]pub struct Lock { /* private fields */ }
Implementations§
source§impl Lock
impl Lock
pub const Exposure: Lock = _
pub const WhiteBalance: Lock = _
pub const Focus: Lock = _
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 BitAndAssign<Lock> for Lock
impl BitAndAssign<Lock> for Lock
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign<Lock> for Lock
impl BitOrAssign<Lock> for Lock
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign<Lock> for Lock
impl BitXorAssign<Lock> for Lock
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Ord for Lock
impl Ord for Lock
source§impl PartialEq<Lock> for Lock
impl PartialEq<Lock> for Lock
source§impl PartialOrd<Lock> for Lock
impl PartialOrd<Lock> for Lock
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 moreimpl Copy for Lock
impl Eq for Lock
impl StructuralEq for Lock
impl StructuralPartialEq for Lock
Auto Trait Implementations§
impl RefUnwindSafe for Lock
impl Send for Lock
impl Sync for Lock
impl Unpin for Lock
impl UnwindSafe for Lock
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