Struct rb_sys::bindings::rb_io_buffer_t
source · #[repr(C, packed)]pub struct rb_io_buffer_t {
pub ptr: *mut c_char,
pub off: c_int,
pub len: c_int,
pub capa: c_int,
}Expand description
Generated by rb-sys for Ruby 3.0.0
Fields§
§ptr: *mut c_charGenerated by rb-sys for Ruby 3.0.0
off: c_intGenerated by rb-sys for Ruby 3.0.0
len: c_intGenerated by rb-sys for Ruby 3.0.0
capa: c_intGenerated by rb-sys for Ruby 3.0.0
Trait Implementations§
source§impl Clone for rb_io_buffer_t
impl Clone for rb_io_buffer_t
source§fn clone(&self) -> rb_io_buffer_t
fn clone(&self) -> rb_io_buffer_t
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 rb_io_buffer_t
impl Debug for rb_io_buffer_t
source§impl PartialEq<rb_io_buffer_t> for rb_io_buffer_t
impl PartialEq<rb_io_buffer_t> for rb_io_buffer_t
source§fn eq(&self, other: &rb_io_buffer_t) -> bool
fn eq(&self, other: &rb_io_buffer_t) -> bool
This method tests for
self and other values to be equal, and is used
by ==.