Enum microbit::hal::pac::generic::Variant [−]
pub enum Variant<U, T> {
Val(T),
Res(U),
}Expand description
Used if enumerated values cover not the whole range
Variants
Expected variant
Raw bits
Trait Implementations
Auto Trait Implementations
impl<U, T> RefUnwindSafe for Variant<U, T> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<U, T> UnwindSafe for Variant<U, T> where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Casts the value.
Casts the value.