pub struct AWDLVersion {
pub major: u8,
pub minor: u8,
}
Expand description
A version in AWDL format.
Fields§
§major: u8
The major version.
minor: u8
The minor version.
Implementations§
Trait Implementations§
Source§impl Clone for AWDLVersion
impl Clone for AWDLVersion
Source§fn clone(&self) -> AWDLVersion
fn clone(&self) -> AWDLVersion
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 AWDLVersion
impl Debug for AWDLVersion
Source§impl Default for AWDLVersion
impl Default for AWDLVersion
Source§fn default() -> AWDLVersion
fn default() -> AWDLVersion
Returns the “default value” for a type. Read more
Source§impl Display for AWDLVersion
impl Display for AWDLVersion
Source§impl From<AWDLVersion> for u128
impl From<AWDLVersion> for u128
Source§fn from(value: AWDLVersion) -> Self
fn from(value: AWDLVersion) -> Self
Converts to this type from the input type.
Source§impl From<AWDLVersion> for u16
impl From<AWDLVersion> for u16
Source§fn from(value: AWDLVersion) -> Self
fn from(value: AWDLVersion) -> Self
Converts to this type from the input type.
Source§impl From<AWDLVersion> for u32
impl From<AWDLVersion> for u32
Source§fn from(value: AWDLVersion) -> Self
fn from(value: AWDLVersion) -> Self
Converts to this type from the input type.
Source§impl From<AWDLVersion> for u64
impl From<AWDLVersion> for u64
Source§fn from(value: AWDLVersion) -> Self
fn from(value: AWDLVersion) -> Self
Converts to this type from the input type.
Source§impl From<AWDLVersion> for u8
impl From<AWDLVersion> for u8
Source§fn from(value: AWDLVersion) -> Self
fn from(value: AWDLVersion) -> Self
Converts to this type from the input type.
Source§impl From<u128> for AWDLVersion
impl From<u128> for AWDLVersion
Source§impl From<u16> for AWDLVersion
impl From<u16> for AWDLVersion
Source§impl From<u32> for AWDLVersion
impl From<u32> for AWDLVersion
Source§impl From<u64> for AWDLVersion
impl From<u64> for AWDLVersion
Source§impl From<u8> for AWDLVersion
impl From<u8> for AWDLVersion
Source§impl Hash for AWDLVersion
impl Hash for AWDLVersion
Source§impl PartialEq for AWDLVersion
impl PartialEq for AWDLVersion
Source§impl PartialOrd for AWDLVersion
impl PartialOrd for AWDLVersion
impl Copy for AWDLVersion
impl Eq for AWDLVersion
impl StructuralPartialEq for AWDLVersion
Auto Trait Implementations§
impl Freeze for AWDLVersion
impl RefUnwindSafe for AWDLVersion
impl Send for AWDLVersion
impl Sync for AWDLVersion
impl Unpin for AWDLVersion
impl UnwindSafe for AWDLVersion
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