Enum avr_device::generic::Variant [−][src]
Used if enumerated values cover not the whole range.
Variants
Expected variant.
Raw bits.
Trait Implementations
impl<U: Clone, T: Clone> Clone for Variant<U, T>[src]
fn clone(&self) -> Variant<U, T>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<U: Copy, T: Copy> Copy for Variant<U, T>[src]
impl<U: PartialEq, T: PartialEq> PartialEq<Variant<U, T>> for Variant<U, T>[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, [src]
T: Send,
U: Send,
impl<U, T> Sync for Variant<U, T> where
T: Sync,
U: Sync, [src]
T: Sync,
U: Sync,
impl<U, T> Unpin for Variant<U, T> where
T: Unpin,
U: Unpin, [src]
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<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>,