[−][src]Struct riscv::register::mideleg::Mideleg
mideleg register
Implementations
impl Mideleg
[src]
pub fn bits(&self) -> usize
[src]
Returns the contents of the register as raw bits
pub fn usoft(&self) -> bool
[src]
User Software Interrupt Enable
pub fn ssoft(&self) -> bool
[src]
Supervisor Software Interrupt Enable
pub fn utimer(&self) -> bool
[src]
User Timer Interrupt Enable
pub fn stimer(&self) -> bool
[src]
Supervisor Timer Interrupt Enable
pub fn uext(&self) -> bool
[src]
User External Interrupt Enable
pub fn sext(&self) -> bool
[src]
Supervisor External Interrupt Enable
Trait Implementations
impl Clone for Mideleg
[src]
fn clone(&self) -> Mideleg
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Mideleg
[src]
impl Debug for Mideleg
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,