Struct erl_nif_sys::erl_nif_io_vec
source · [−]#[repr(C)]pub struct erl_nif_io_vec {
pub iovcnt: c_int,
pub size: usize,
pub iov: *mut SysIOVec,
pub ref_bins: *mut *mut c_void,
pub flags: c_int,
pub small_iov: [SysIOVec; 16],
pub small_ref_bin: [*mut c_void; 16],
}
Fields
iovcnt: c_int
size: usize
iov: *mut SysIOVec
ref_bins: *mut *mut c_void
flags: c_int
small_iov: [SysIOVec; 16]
small_ref_bin: [*mut c_void; 16]
Trait Implementations
sourceimpl Clone for erl_nif_io_vec
impl Clone for erl_nif_io_vec
sourcefn clone(&self) -> erl_nif_io_vec
fn clone(&self) -> erl_nif_io_vec
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
sourceimpl Debug for erl_nif_io_vec
impl Debug for erl_nif_io_vec
impl Copy for erl_nif_io_vec
Auto Trait Implementations
impl RefUnwindSafe for erl_nif_io_vec
impl !Send for erl_nif_io_vec
impl !Sync for erl_nif_io_vec
impl Unpin for erl_nif_io_vec
impl UnwindSafe for erl_nif_io_vec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more