Struct glib_sys::GIOChannel
source · #[repr(C)]pub struct GIOChannel {Show 13 fields
pub ref_count: c_int,
pub funcs: *mut GIOFuncs,
pub encoding: *mut c_char,
pub read_cd: GIConv,
pub write_cd: GIConv,
pub line_term: *mut c_char,
pub line_term_len: c_uint,
pub buf_size: size_t,
pub read_buf: *mut GString,
pub encoded_read_buf: *mut GString,
pub write_buf: *mut GString,
pub partial_write_buf: [c_char; 6],
pub use_buffer: c_uint,
/* private fields */
}
Fields
ref_count: c_int
funcs: *mut GIOFuncs
encoding: *mut c_char
read_cd: GIConv
write_cd: GIConv
line_term: *mut c_char
line_term_len: c_uint
buf_size: size_t
read_buf: *mut GString
encoded_read_buf: *mut GString
write_buf: *mut GString
partial_write_buf: [c_char; 6]
use_buffer: c_uint
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GIOChannel
impl !Send for GIOChannel
impl !Sync for GIOChannel
impl Unpin for GIOChannel
impl UnwindSafe for GIOChannel
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