Struct e_drone::base::system::Version[][src]

pub struct Version {
    pub build: u16,
    pub minor: u8,
    pub major: u8,
}

Fields

build: u16minor: u8major: u8

Implementations

impl Version[src]

pub fn from_slice(data_array: &[u8]) -> Version[src]

pub fn from_u32(version: u32) -> Version[src]

pub fn to_vec(version: &Version) -> Vec<u8>[src]

pub fn to_array(version: &Version) -> [u8; 4][src]

pub fn to_u32(version: &Version) -> u32[src]

Trait Implementations

impl Debug 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, 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.