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,
}Fields
ptr: *mut c_charoff: c_intlen: c_intcapa: c_intTrait Implementations
sourceimpl Clone for rb_io_buffer_t
impl Clone for rb_io_buffer_t
sourcefn clone(&self) -> rb_io_buffer_t
fn clone(&self) -> rb_io_buffer_t
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for rb_io_buffer_t
impl Debug for rb_io_buffer_t
sourceimpl PartialEq<rb_io_buffer_t> for rb_io_buffer_t
impl PartialEq<rb_io_buffer_t> for rb_io_buffer_t
sourcefn eq(&self, other: &rb_io_buffer_t) -> bool
fn eq(&self, other: &rb_io_buffer_t) -> bool
impl Copy for rb_io_buffer_t
impl Eq for rb_io_buffer_t
impl StructuralEq for rb_io_buffer_t
impl StructuralPartialEq for rb_io_buffer_t
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more