Struct e_drone::base::system::Version [−][src]
Fields
build: u16
minor: u8
major: 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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,