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