#[non_exhaustive]pub enum PioVersion {
V0,
V1,
}
Expand description
PIO version
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V0
Pio programs compatible with both the RP2040 and RP235x
V1
Pio programs compatible with the RP235x
Trait Implementations§
Source§impl Clone for PioVersion
impl Clone for PioVersion
Source§fn clone(&self) -> PioVersion
fn clone(&self) -> PioVersion
Returns a duplicate 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 PioVersion
impl Debug for PioVersion
Source§impl PartialEq for PioVersion
impl PartialEq for PioVersion
impl Copy for PioVersion
impl Eq for PioVersion
impl StructuralPartialEq for PioVersion
Auto Trait Implementations§
impl Freeze for PioVersion
impl RefUnwindSafe for PioVersion
impl Send for PioVersion
impl Sync for PioVersion
impl Unpin for PioVersion
impl UnwindSafe for PioVersion
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