#[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_pd
§td: *mut ibv_td
§comp_mask: u32
§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>
§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_void
Trait Implementations§
Source§impl Clone for ibv_parent_domain_init_attr
impl Clone for ibv_parent_domain_init_attr
Source§fn 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 · 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_parent_domain_init_attr
impl Debug for ibv_parent_domain_init_attr
impl Copy for ibv_parent_domain_init_attr
Auto Trait Implementations§
impl Freeze for ibv_parent_domain_init_attr
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§
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