Type Alias GIOChannel

Source
pub type GIOChannel = _GIOChannel;

Aliased Type§

struct GIOChannel {
Show 16 fields pub ref_count: i32, pub funcs: *mut _GIOFuncs, pub encoding: *mut i8, pub read_cd: *mut _GIConv, pub write_cd: *mut _GIConv, pub line_term: *mut i8, pub line_term_len: u32, pub buf_size: u32, pub read_buf: *mut _GString, pub encoded_read_buf: *mut _GString, pub write_buf: *mut _GString, pub partial_write_buf: [i8; 6], pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>, pub reserved1: *mut c_void, pub reserved2: *mut c_void,
}

Fields§

§ref_count: i32§funcs: *mut _GIOFuncs§encoding: *mut i8§read_cd: *mut _GIConv§write_cd: *mut _GIConv§line_term: *mut i8§line_term_len: u32§buf_size: u32§read_buf: *mut _GString§encoded_read_buf: *mut _GString§write_buf: *mut _GString§partial_write_buf: [i8; 6]§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§reserved1: *mut c_void§reserved2: *mut c_void

Implementations

Source§

impl _GIOChannel

Source

pub fn use_buffer(&self) -> guint

Source

pub fn set_use_buffer(&mut self, val: guint)

Source

pub fn do_encode(&self) -> guint

Source

pub fn set_do_encode(&mut self, val: guint)

Source

pub fn close_on_unref(&self) -> guint

Source

pub fn set_close_on_unref(&mut self, val: guint)

Source

pub fn is_readable(&self) -> guint

Source

pub fn set_is_readable(&mut self, val: guint)

Source

pub fn is_writeable(&self) -> guint

Source

pub fn set_is_writeable(&mut self, val: guint)

Source

pub fn is_seekable(&self) -> guint

Source

pub fn set_is_seekable(&mut self, val: guint)

Source

pub fn new_bitfield_1( use_buffer: guint, do_encode: guint, close_on_unref: guint, is_readable: guint, is_writeable: guint, is_seekable: guint, ) -> __BindgenBitfieldUnit<[u8; 1]>

Trait Implementations

Source§

impl Clone for _GIOChannel

Source§

fn clone(&self) -> _GIOChannel

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 _GIOChannel

Source§

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

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

impl PartialEq for _GIOChannel

Source§

fn eq(&self, other: &_GIOChannel) -> 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 _GIOChannel

Source§

impl Eq for _GIOChannel

Source§

impl StructuralPartialEq for _GIOChannel