pub struct HalFirmwareRevision {
pub status: Status,
pub revision: u16,
}
Expand description
Parameters returned by the HAL Get Firmware Revision command.
Fields§
§status: Status
Did the command fail, and if so, how?
revision: u16
The firmware revision number.
Trait Implementations§
Source§impl Clone for HalFirmwareRevision
impl Clone for HalFirmwareRevision
Source§fn clone(&self) -> HalFirmwareRevision
fn clone(&self) -> HalFirmwareRevision
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 moreAuto Trait Implementations§
impl Freeze for HalFirmwareRevision
impl RefUnwindSafe for HalFirmwareRevision
impl Send for HalFirmwareRevision
impl Sync for HalFirmwareRevision
impl Unpin for HalFirmwareRevision
impl UnwindSafe for HalFirmwareRevision
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