#[repr(C)]pub struct _ibv_device_ops {
pub _dummy1: Option<unsafe extern "C" fn(device: *mut ibv_device, cmd_fd: c_int) -> *mut ibv_context>,
pub _dummy2: Option<unsafe extern "C" fn(context: *mut ibv_context)>,
}
Fields§
§_dummy1: Option<unsafe extern "C" fn(device: *mut ibv_device, cmd_fd: c_int) -> *mut ibv_context>
§_dummy2: Option<unsafe extern "C" fn(context: *mut ibv_context)>
Trait Implementations§
Source§impl Clone for _ibv_device_ops
impl Clone for _ibv_device_ops
Source§fn clone(&self) -> _ibv_device_ops
fn clone(&self) -> _ibv_device_ops
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_device_ops
impl Debug for _ibv_device_ops
Source§impl Default for _ibv_device_ops
impl Default for _ibv_device_ops
Source§fn default() -> _ibv_device_ops
fn default() -> _ibv_device_ops
Returns the “default value” for a type. Read more
impl Copy for _ibv_device_ops
Auto Trait Implementations§
impl Freeze for _ibv_device_ops
impl RefUnwindSafe for _ibv_device_ops
impl Send for _ibv_device_ops
impl Sync for _ibv_device_ops
impl Unpin for _ibv_device_ops
impl UnwindSafe for _ibv_device_ops
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