pub struct HalDescription {
pub model_family: Option<String>,
pub hardware_version: Option<String>,
pub software_version: Option<String>,
}Expand description
What device a HAL drives.
Fields§
§model_family: Option<String>§hardware_version: Option<String>§software_version: Option<String>Trait Implementations§
Source§impl Clone for HalDescription
impl Clone for HalDescription
Source§fn clone(&self) -> HalDescription
fn clone(&self) -> HalDescription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HalDescription
impl Debug for HalDescription
Source§impl Default for HalDescription
impl Default for HalDescription
Source§fn default() -> HalDescription
fn default() -> HalDescription
Returns the “default value” for a type. Read more
impl Eq for HalDescription
Source§impl PartialEq for HalDescription
impl PartialEq for HalDescription
Source§fn eq(&self, other: &HalDescription) -> bool
fn eq(&self, other: &HalDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HalDescription
Auto Trait Implementations§
impl Freeze for HalDescription
impl RefUnwindSafe for HalDescription
impl Send for HalDescription
impl Sync for HalDescription
impl Unpin for HalDescription
impl UnsafeUnpin for HalDescription
impl UnwindSafe for HalDescription
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