Struct rdma_sys::ibv_parent_domain_init_attr
source · [−]#[repr(C)]pub struct ibv_parent_domain_init_attr {
pub pd: *mut ibv_pd,
pub td: *mut ibv_td,
pub comp_mask: u32,
pub alloc: Option<unsafe extern "C" fn(pd: *mut ibv_pd, pd_context: *mut c_void, size: usize, alignment: usize, resource_type: u64) -> *mut c_void>,
pub free: Option<unsafe extern "C" fn(pd: *mut ibv_pd, pd_context: *mut c_void, ptr: *mut c_void, resource_type: u64)>,
pub pd_context: *mut c_void,
}Fields
pd: *mut ibv_pdtd: *mut ibv_tdcomp_mask: u32alloc: Option<unsafe extern "C" fn(pd: *mut ibv_pd, pd_context: *mut c_void, size: usize, alignment: usize, resource_type: u64) -> *mut c_void>free: Option<unsafe extern "C" fn(pd: *mut ibv_pd, pd_context: *mut c_void, ptr: *mut c_void, resource_type: u64)>pd_context: *mut c_voidTrait Implementations
sourceimpl Clone for ibv_parent_domain_init_attr
impl Clone for ibv_parent_domain_init_attr
sourcefn clone(&self) -> ibv_parent_domain_init_attr
fn clone(&self) -> ibv_parent_domain_init_attr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Copy for ibv_parent_domain_init_attr
Auto Trait Implementations
impl RefUnwindSafe for ibv_parent_domain_init_attr
impl !Send for ibv_parent_domain_init_attr
impl !Sync for ibv_parent_domain_init_attr
impl Unpin for ibv_parent_domain_init_attr
impl UnwindSafe for ibv_parent_domain_init_attr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more