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