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