Enum wlink::WchLinkVariant
source · #[repr(u8)]pub enum WchLinkVariant {
Ch549,
ECh32v305,
SCh32v203,
B,
}Expand description
All WCH-Link probe variants, see-also: http://www.wch-ic.com/products/WCH-Link.html
Variants§
Ch549
WCH-Link-CH549, does not support CH32V00X
ECh32v305
WCH-LinkE-CH32V305
SCh32v203
WCH-LinkS-CH32V203
B
WCH-LinkB,
Implementations§
source§impl WchLinkVariant
impl WchLinkVariant
pub fn try_from_u8(value: u8) -> Result<Self>
Trait Implementations§
source§impl Clone for WchLinkVariant
impl Clone for WchLinkVariant
source§fn clone(&self) -> WchLinkVariant
fn clone(&self) -> WchLinkVariant
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 WchLinkVariant
impl Debug for WchLinkVariant
source§impl Display for WchLinkVariant
impl Display for WchLinkVariant
impl Copy for WchLinkVariant
Auto Trait Implementations§
impl RefUnwindSafe for WchLinkVariant
impl Send for WchLinkVariant
impl Sync for WchLinkVariant
impl Unpin for WchLinkVariant
impl UnwindSafe for WchLinkVariant
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