Type Alias GOutputVector

Source
pub type GOutputVector = _GOutputVector;
Expand description

GOutputVector: @buffer: Pointer to a buffer of data to read. @size: the size of @buffer.

Structure used for scatter/gather data output. You generally pass in an array of #GOutputVectors and the operation will use all the buffers as if they were one buffer.

Since: 2.22

Aliased Type§

struct GOutputVector {
    pub buffer: *const c_void,
    pub size: u64,
}

Fields§

§buffer: *const c_void§size: u64

Trait Implementations

Source§

impl Clone for _GOutputVector

Source§

fn clone(&self) -> _GOutputVector

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GOutputVector

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GOutputVector

Source§

fn eq(&self, other: &_GOutputVector) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GOutputVector

Source§

impl Eq for _GOutputVector

Source§

impl StructuralPartialEq for _GOutputVector