Struct kvm_sys::x86::bindings::kvm_xen_vcpu_attr
source · #[repr(C)]pub struct kvm_xen_vcpu_attr {
pub type_: u16,
pub pad: [u16; 3],
pub u: kvm_xen_vcpu_attr__bindgen_ty_1,
}
Fields§
§type_: u16
§pad: [u16; 3]
§u: kvm_xen_vcpu_attr__bindgen_ty_1
Trait Implementations§
source§impl Clone for kvm_xen_vcpu_attr
impl Clone for kvm_xen_vcpu_attr
source§fn clone(&self) -> kvm_xen_vcpu_attr
fn clone(&self) -> kvm_xen_vcpu_attr
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 Default for kvm_xen_vcpu_attr
impl Default for kvm_xen_vcpu_attr
impl Copy for kvm_xen_vcpu_attr
Auto Trait Implementations§
impl RefUnwindSafe for kvm_xen_vcpu_attr
impl Send for kvm_xen_vcpu_attr
impl Sync for kvm_xen_vcpu_attr
impl Unpin for kvm_xen_vcpu_attr
impl UnwindSafe for kvm_xen_vcpu_attr
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