#[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 */
}
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.