Struct ibverbs_sys::ibv_pci_atomic_caps
source · #[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: u16Trait 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 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