Struct sbi::base::SbiSpecVersion
source · [−]Expand description
SBI specification version implemented by the SBI implementation
Fields
major: usize
Major version number
minor: usize
Minor version number
Trait Implementations
sourceimpl Clone for SbiSpecVersion
impl Clone for SbiSpecVersion
sourcefn clone(&self) -> SbiSpecVersion
fn clone(&self) -> SbiSpecVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SbiSpecVersion
impl Debug for SbiSpecVersion
sourceimpl Hash for SbiSpecVersion
impl Hash for SbiSpecVersion
sourceimpl PartialEq<SbiSpecVersion> for SbiSpecVersion
impl PartialEq<SbiSpecVersion> for SbiSpecVersion
sourcefn eq(&self, other: &SbiSpecVersion) -> bool
fn eq(&self, other: &SbiSpecVersion) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SbiSpecVersion) -> bool
fn ne(&self, other: &SbiSpecVersion) -> bool
This method tests for !=
.
impl Copy for SbiSpecVersion
impl Eq for SbiSpecVersion
impl StructuralEq for SbiSpecVersion
impl StructuralPartialEq for SbiSpecVersion
Auto Trait Implementations
impl RefUnwindSafe for SbiSpecVersion
impl Send for SbiSpecVersion
impl Sync for SbiSpecVersion
impl Unpin for SbiSpecVersion
impl UnwindSafe for SbiSpecVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more