Struct kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
#[repr(C)]pub struct kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2 {
pub port: u32,
pub priority: u32,
pub expires_ns: u64,
}
Fields§
§port: u32
§priority: u32
§expires_ns: u64
Trait Implementations§
§impl Clone for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
impl Clone for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
§fn clone(&self) -> kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
fn clone(&self) -> kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
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 more§impl Default for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
impl Default for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
§fn default() -> kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
fn default() -> kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
Returns the “default value” for a type. Read more
§impl PartialEq for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
impl PartialEq for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
§fn eq(&self, other: &kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2) -> bool
fn eq(&self, other: &kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
impl StructuralPartialEq for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
impl RefUnwindSafe for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
impl Send for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
impl Sync for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
impl Unpin for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
impl UnwindSafe for kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_2
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