#[repr(C)]pub struct ibv_pci_atomic_caps {
pub fetch_add: u16,
pub swap: u16,
pub compare_swap: u16,
}
Fields§
§fetch_add: u16
§swap: u16
§compare_swap: u16
Trait Implementations§
Source§impl Clone for ibv_pci_atomic_caps
impl Clone for ibv_pci_atomic_caps
Source§fn clone(&self) -> ibv_pci_atomic_caps
fn clone(&self) -> ibv_pci_atomic_caps
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 ibv_pci_atomic_caps
impl Debug for ibv_pci_atomic_caps
Source§impl Default for ibv_pci_atomic_caps
impl Default for ibv_pci_atomic_caps
Source§fn default() -> ibv_pci_atomic_caps
fn default() -> ibv_pci_atomic_caps
Returns the “default value” for a type. Read more
impl Copy for ibv_pci_atomic_caps
Auto Trait Implementations§
impl Freeze for ibv_pci_atomic_caps
impl RefUnwindSafe for ibv_pci_atomic_caps
impl Send for ibv_pci_atomic_caps
impl Sync for ibv_pci_atomic_caps
impl Unpin for ibv_pci_atomic_caps
impl UnwindSafe for ibv_pci_atomic_caps
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