pub struct SoftwareRevision;Expand description
Represents the Software Revision serial command.
Implementations§
Source§impl SoftwareRevision
impl SoftwareRevision
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new SoftwareRevision.
Sourcepub const fn command(&self) -> &str
pub const fn command(&self) -> &str
Gets the ASCII serial command code for SoftwareRevision.
Trait Implementations§
Source§impl Clone for SoftwareRevision
impl Clone for SoftwareRevision
Source§fn clone(&self) -> SoftwareRevision
fn clone(&self) -> SoftwareRevision
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 moreimpl Copy for SoftwareRevision
Source§impl Debug for SoftwareRevision
impl Debug for SoftwareRevision
Source§impl Default for SoftwareRevision
impl Default for SoftwareRevision
impl Eq for SoftwareRevision
Source§impl PartialEq for SoftwareRevision
impl PartialEq for SoftwareRevision
Source§fn eq(&self, other: &SoftwareRevision) -> bool
fn eq(&self, other: &SoftwareRevision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SoftwareRevision
Auto Trait Implementations§
impl Freeze for SoftwareRevision
impl RefUnwindSafe for SoftwareRevision
impl Send for SoftwareRevision
impl Sync for SoftwareRevision
impl Unpin for SoftwareRevision
impl UnsafeUnpin for SoftwareRevision
impl UnwindSafe for SoftwareRevision
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