pub struct VcpuInterruptState {
pub injected: bool,
pub nr: u8,
pub soft: bool,
pub shadow: Option<u8>,
}Fields§
§injected: bool§nr: u8§soft: bool§shadow: Option<u8>Trait Implementations§
Source§impl Clone for VcpuInterruptState
impl Clone for VcpuInterruptState
Source§fn clone(&self) -> VcpuInterruptState
fn clone(&self) -> VcpuInterruptState
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 VcpuInterruptState
impl Debug for VcpuInterruptState
Source§impl<'de> Deserialize<'de> for VcpuInterruptState
impl<'de> Deserialize<'de> for VcpuInterruptState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VcpuInterruptState
impl RefUnwindSafe for VcpuInterruptState
impl Send for VcpuInterruptState
impl Sync for VcpuInterruptState
impl Unpin for VcpuInterruptState
impl UnwindSafe for VcpuInterruptState
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