Struct linux_video_core::DvSyncPol
source · #[repr(transparent)]pub struct DvSyncPol { /* private fields */ }
Expand description
Polarities
If bit is not set, it is assumed to be negative polarity
Implementations§
source§impl DvSyncPol
impl DvSyncPol
pub const VsyncPos: DvSyncPol = _
pub const HsyncPos: DvSyncPol = _
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<DvSyncPol> for DvSyncPol
impl BitAndAssign<DvSyncPol> for DvSyncPol
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign<DvSyncPol> for DvSyncPol
impl BitOrAssign<DvSyncPol> for DvSyncPol
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign<DvSyncPol> for DvSyncPol
impl BitXorAssign<DvSyncPol> for DvSyncPol
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Ord for DvSyncPol
impl Ord for DvSyncPol
source§impl PartialEq<DvSyncPol> for DvSyncPol
impl PartialEq<DvSyncPol> for DvSyncPol
source§impl PartialOrd<DvSyncPol> for DvSyncPol
impl PartialOrd<DvSyncPol> for DvSyncPol
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 DvSyncPol
impl Eq for DvSyncPol
impl StructuralEq for DvSyncPol
impl StructuralPartialEq for DvSyncPol
Auto Trait Implementations§
impl RefUnwindSafe for DvSyncPol
impl Send for DvSyncPol
impl Sync for DvSyncPol
impl Unpin for DvSyncPol
impl UnwindSafe for DvSyncPol
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