Struct sbi_rt::ExtensionInfo
source · pub struct ExtensionInfo {
pub raw: usize,
}
Expand description
Information about an SBI extension.
Fields§
§raw: usize
Implementations§
source§impl ExtensionInfo
impl ExtensionInfo
sourcepub const fn is_available(&self) -> bool
pub const fn is_available(&self) -> bool
Is this extension available?
Is this extension not available?
Trait Implementations§
source§impl Clone for ExtensionInfo
impl Clone for ExtensionInfo
source§fn clone(&self) -> ExtensionInfo
fn clone(&self) -> ExtensionInfo
Returns a copy 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 ExtensionInfo
impl Debug for ExtensionInfo
impl Copy for ExtensionInfo
Auto Trait Implementations§
impl RefUnwindSafe for ExtensionInfo
impl Send for ExtensionInfo
impl Sync for ExtensionInfo
impl Unpin for ExtensionInfo
impl UnwindSafe for ExtensionInfo
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