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