Struct frida_sys::_GIOChannel
source · [−]#[repr(C)]pub struct _GIOChannel {Show 16 fields
pub ref_count: gint,
pub funcs: *mut GIOFuncs,
pub encoding: *mut gchar,
pub read_cd: GIConv,
pub write_cd: GIConv,
pub line_term: *mut gchar,
pub line_term_len: guint,
pub buf_size: gsize,
pub read_buf: *mut GString,
pub encoded_read_buf: *mut GString,
pub write_buf: *mut GString,
pub partial_write_buf: [gchar; 6],
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub reserved1: gpointer,
pub reserved2: gpointer,
}Fields
ref_count: gintfuncs: *mut GIOFuncsencoding: *mut gcharread_cd: GIConvwrite_cd: GIConvline_term: *mut gcharline_term_len: guintbuf_size: gsizeread_buf: *mut GStringencoded_read_buf: *mut GStringwrite_buf: *mut GStringpartial_write_buf: [gchar; 6]_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>reserved1: gpointerreserved2: gpointerImplementations
sourceimpl _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
sourceimpl Clone for _GIOChannel
impl Clone for _GIOChannel
sourcefn clone(&self) -> _GIOChannel
fn clone(&self) -> _GIOChannel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for _GIOChannel
impl Debug for _GIOChannel
impl Copy for _GIOChannel
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more