Struct kvm_bindings::kvm_pit_channel_state
source · #[repr(C)]pub struct kvm_pit_channel_state {}
Available on x86-64 only.
Fields§
§count: __u32
§latched_count: __u16
§count_latched: __u8
§status_latched: __u8
§status: __u8
§read_state: __u8
§write_state: __u8
§write_latch: __u8
§rw_mode: __u8
§mode: __u8
§bcd: __u8
§gate: __u8
§count_load_time: __s64
Trait Implementations§
source§impl AsBytes for kvm_pit_channel_state
impl AsBytes for kvm_pit_channel_state
source§impl Clone for kvm_pit_channel_state
impl Clone for kvm_pit_channel_state
source§fn clone(&self) -> kvm_pit_channel_state
fn clone(&self) -> kvm_pit_channel_state
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 kvm_pit_channel_state
impl Debug for kvm_pit_channel_state
source§impl Default for kvm_pit_channel_state
impl Default for kvm_pit_channel_state
source§fn default() -> kvm_pit_channel_state
fn default() -> kvm_pit_channel_state
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for kvm_pit_channel_state
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for kvm_pit_channel_state
Available on crate feature
serde
only.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
source§impl FromBytes for kvm_pit_channel_state
impl FromBytes for kvm_pit_channel_state
source§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read moresource§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read moresource§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>
fn mut_slice_from_prefix( bytes: &mut [u8], count: usize ) -> Option<(&mut [Self], &mut [u8])>
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read moresource§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>
fn mut_slice_from_suffix( bytes: &mut [u8], count: usize ) -> Option<(&mut [u8], &mut [Self])>
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read moresource§impl FromZeroes for kvm_pit_channel_state
impl FromZeroes for kvm_pit_channel_state
source§impl PartialEq for kvm_pit_channel_state
impl PartialEq for kvm_pit_channel_state
source§fn eq(&self, other: &kvm_pit_channel_state) -> bool
fn eq(&self, other: &kvm_pit_channel_state) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for kvm_pit_channel_state
Available on crate feature serde
only.
impl Serialize for kvm_pit_channel_state
Available on crate feature
serde
only.impl Copy for kvm_pit_channel_state
impl StructuralPartialEq for kvm_pit_channel_state
Auto Trait Implementations§
impl Freeze for kvm_pit_channel_state
impl RefUnwindSafe for kvm_pit_channel_state
impl Send for kvm_pit_channel_state
impl Sync for kvm_pit_channel_state
impl Unpin for kvm_pit_channel_state
impl UnwindSafe for kvm_pit_channel_state
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