#[repr(C, packed(1))]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
Fields§
§ptr: *mut c_char§Pointer to the underlying memory region, of at least capa bytes.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3
off: c_int§len: c_int§capa: c_intTrait 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 for rb_io_buffer_t
impl PartialEq for rb_io_buffer_t
impl Copy for rb_io_buffer_t
impl Eq for rb_io_buffer_t
impl StructuralPartialEq for rb_io_buffer_t
Auto Trait Implementations§
impl Freeze for rb_io_buffer_t
impl RefUnwindSafe for rb_io_buffer_t
impl !Send for rb_io_buffer_t
impl !Sync for rb_io_buffer_t
impl Unpin for rb_io_buffer_t
impl UnwindSafe for rb_io_buffer_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