Enum nrf52833_hal::pac::generic::Variant [−][src]
Used if enumerated values cover not the whole range
Variants
Expected variant
Raw bits
Trait Implementations
impl<U, T> Clone for Variant<U, T> where
T: Clone,
U: Clone,
[src]
T: Clone,
U: Clone,
pub fn clone(&self) -> Variant<U, T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<U, T> Copy for Variant<U, T> where
T: Copy,
U: Copy,
[src]
T: Copy,
U: Copy,
impl<U, T> PartialEq<Variant<U, T>> for Variant<U, T> where
T: PartialEq<T>,
U: PartialEq<U>,
[src]
T: PartialEq<T>,
U: PartialEq<U>,
pub fn eq(&self, other: &Variant<U, T>) -> bool
[src]
pub fn ne(&self, other: &Variant<U, T>) -> bool
[src]
impl<U, T> StructuralPartialEq for Variant<U, T>
[src]
Auto Trait Implementations
impl<U, T> Send for Variant<U, T> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<U, T> Sync for Variant<U, T> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<U, T> Unpin for Variant<U, T> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]
Dst: LosslessTryFrom<Src>,
pub fn lossless_try_into(self) -> Option<Dst>
[src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]
Dst: LossyFrom<Src>,
pub fn lossy_into(self) -> Dst
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,