#[repr(C)]pub struct rb_io_t {Show 20 fields
pub self_: VALUE,
pub stdio_file: *mut FILE,
pub fd: c_int,
pub mode: c_int,
pub pid: pid_t,
pub lineno: c_int,
pub pathv: VALUE,
pub finalize: Option<unsafe extern "C" fn(arg1: *mut rb_io_t, arg2: c_int)>,
pub wbuf: rb_io_buffer_t,
pub rbuf: rb_io_buffer_t,
pub tied_io_for_writing: VALUE,
pub encs: rb_io_t_rb_io_enc_t,
pub readconv: *mut rb_econv_t,
pub cbuf: rb_io_buffer_t,
pub writeconv: *mut rb_econv_t,
pub writeconv_asciicompat: VALUE,
pub writeconv_initialized: c_int,
pub writeconv_pre_ecflags: c_int,
pub writeconv_pre_ecopts: VALUE,
pub write_lock: VALUE,
}Expand description
Generated by rb-sys for Ruby 3.0.0
Fields§
§self_: VALUEGenerated by rb-sys for Ruby 3.0.0
stdio_file: *mut FILEGenerated by rb-sys for Ruby 3.0.0
fd: c_intGenerated by rb-sys for Ruby 3.0.0
mode: c_intGenerated by rb-sys for Ruby 3.0.0
pid: pid_tGenerated by rb-sys for Ruby 3.0.0
lineno: c_intGenerated by rb-sys for Ruby 3.0.0
pathv: VALUEGenerated by rb-sys for Ruby 3.0.0
finalize: Option<unsafe extern "C" fn(arg1: *mut rb_io_t, arg2: c_int)>Generated by rb-sys for Ruby 3.0.0
wbuf: rb_io_buffer_tGenerated by rb-sys for Ruby 3.0.0
rbuf: rb_io_buffer_tGenerated by rb-sys for Ruby 3.0.0
tied_io_for_writing: VALUEGenerated by rb-sys for Ruby 3.0.0
encs: rb_io_t_rb_io_enc_tGenerated by rb-sys for Ruby 3.0.0
readconv: *mut rb_econv_tGenerated by rb-sys for Ruby 3.0.0
cbuf: rb_io_buffer_tGenerated by rb-sys for Ruby 3.0.0
writeconv: *mut rb_econv_tGenerated by rb-sys for Ruby 3.0.0
writeconv_asciicompat: VALUEGenerated by rb-sys for Ruby 3.0.0
writeconv_initialized: c_intGenerated by rb-sys for Ruby 3.0.0
writeconv_pre_ecflags: c_intGenerated by rb-sys for Ruby 3.0.0
writeconv_pre_ecopts: VALUEGenerated by rb-sys for Ruby 3.0.0
write_lock: VALUEGenerated by rb-sys for Ruby 3.0.0
Trait Implementations§
source§impl PartialEq<rb_io_t> for rb_io_t
impl PartialEq<rb_io_t> for rb_io_t
impl Copy for rb_io_t
impl Eq for rb_io_t
impl StructuralEq for rb_io_t
impl StructuralPartialEq for rb_io_t
Auto Trait Implementations§
impl RefUnwindSafe for rb_io_t
impl !Send for rb_io_t
impl !Sync for rb_io_t
impl Unpin for rb_io_t
impl UnwindSafe for rb_io_t
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