#[repr(C)]pub struct PitState {
pub channels: [PitChannelState; 3],
pub flags: u32,
}Expand description
The PitState represents the state of the PIT (aka the Programmable Interval Timer). The state is simply the state of it’s three channels.
Fields§
§channels: [PitChannelState; 3]§flags: u32Hypervisor-specific flags for setting the pit state.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PitState
impl<'de> Deserialize<'de> for PitState
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
impl Copy for PitState
impl Eq for PitState
impl StructuralPartialEq for PitState
Auto Trait Implementations§
impl Freeze for PitState
impl RefUnwindSafe for PitState
impl Send for PitState
impl Sync for PitState
impl Unpin for PitState
impl UnwindSafe for PitState
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