Struct panda_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: gint
§funcs: *mut GIOFuncs
§encoding: *mut gchar
§read_cd: GIConv
§write_cd: GIConv
§line_term: *mut gchar
§line_term_len: guint
§buf_size: gsize
§read_buf: *mut GString
§encoded_read_buf: *mut GString
§write_buf: *mut GString
§partial_write_buf: [gchar; 6]
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§reserved1: gpointer
§reserved2: gpointer
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 moresource§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more