[][src]Struct punt::bootloader_info::Version

pub struct Version {
    pub major: u8,
    pub minor: u8,
    pub patch: u8,
}

Represents a version number as used for the bootloader firmware version.

Fields

major: u8

The major version, incremented for breaking changes.

minor: u8

The minor versions, incremented when features are added in a backwards-compatible manner.

patch: u8

The patch version, incremented for backwards-compatible bug fixes.

Trait Implementations

impl Debug for Version[src]

impl Display for Version[src]

Auto Trait Implementations

impl RefUnwindSafe for Version

impl Send for Version

impl Sync for Version

impl Unpin for Version

impl UnwindSafe for Version

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.