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
impl _GIOChannel
pub fn use_buffer(&self) -> guint
pub fn set_use_buffer(&mut self, val: guint)
pub fn do_encode(&self) -> guint
pub fn set_do_encode(&mut self, val: guint)
pub fn close_on_unref(&self) -> guint
pub fn set_close_on_unref(&mut self, val: guint)
pub fn is_readable(&self) -> guint
pub fn set_is_readable(&mut self, val: guint)
pub fn is_writeable(&self) -> guint
pub fn set_is_writeable(&mut self, val: guint)
pub fn is_seekable(&self) -> guint
pub fn set_is_seekable(&mut self, val: guint)
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
impl Clone for _GIOChannel
Source§fn clone(&self) -> _GIOChannel
fn clone(&self) -> _GIOChannel
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 more