pub struct VcpuModifier {
    pub index: usize,
    pub bitmap: String,
}Fieldsยง
ยงindex: usizeIndex into kvm_vcpu_init::features array. As of Linux kernel 6.4.10, only value 0 is allowed.
bitmap: StringBitmap for modifying the 32 bit field in kvm_vcpu_init::features.
Must be in the format 0b[01x]{1,32}.
Corresponding bits will be cleared (0), set (1) or left intact (x). (_) can be used as a separator.
Examples: [โ0b11xxxxxโ]
Trait Implementationsยง
Sourceยงimpl Clone for VcpuModifier
 
impl Clone for VcpuModifier
Sourceยงfn clone(&self) -> VcpuModifier
 
fn clone(&self) -> VcpuModifier
Returns a duplicate 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 VcpuModifier
 
impl Debug for VcpuModifier
Sourceยงimpl<'de> Deserialize<'de> for VcpuModifier
 
impl<'de> Deserialize<'de> for VcpuModifier
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 Hash for VcpuModifier
 
impl Hash for VcpuModifier
Sourceยงimpl Ord for VcpuModifier
 
impl Ord for VcpuModifier
Sourceยงfn cmp(&self, other: &VcpuModifier) -> Ordering
 
fn cmp(&self, other: &VcpuModifier) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for VcpuModifier
 
impl PartialEq for VcpuModifier
Sourceยงimpl PartialOrd for VcpuModifier
 
impl PartialOrd for VcpuModifier
Sourceยงimpl Serialize for VcpuModifier
 
impl Serialize for VcpuModifier
impl Eq for VcpuModifier
impl StructuralPartialEq for VcpuModifier
Auto Trait Implementationsยง
impl Freeze for VcpuModifier
impl RefUnwindSafe for VcpuModifier
impl Send for VcpuModifier
impl Sync for VcpuModifier
impl Unpin for VcpuModifier
impl UnwindSafe for VcpuModifier
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