Struct Struct_Rconn

Source
#[repr(C)]
pub struct Struct_Rconn {
Show 43 fields pub class: *mut c_char, pub description: *mut c_char, pub enc: c_int, pub mode: [c_char; 5], pub text: Rboolean, pub isopen: Rboolean, pub incomplete: Rboolean, pub canread: Rboolean, pub canwrite: Rboolean, pub canseek: Rboolean, pub blocking: Rboolean, pub isGzcon: Rboolean, pub open: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn) -> Rboolean>, pub close: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn)>, pub destroy: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn)>, pub vfprintf: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn, arg2: *const c_char, arg3: va_list) -> c_int>, pub fgetc: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn) -> c_int>, pub fgetc_internal: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn) -> c_int>, pub seek: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn, arg2: c_double, arg3: c_int, arg4: c_int) -> c_double>, pub truncate: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn)>, pub fflush: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn) -> c_int>, pub read: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: size_t, arg3: size_t, arg4: *mut Struct_Rconn) -> size_t>, pub write: Option<unsafe extern "C" fn(arg1: *const c_void, arg2: size_t, arg3: size_t, arg4: *mut Struct_Rconn) -> size_t>, pub nPushBack: c_int, pub posPushBack: c_int, pub PushBack: *mut *mut c_char, pub save: c_int, pub save2: c_int, pub encname: [c_char; 101], pub inconv: *mut c_void, pub outconv: *mut c_void, pub iconvbuff: [c_char; 25], pub oconvbuff: [c_char; 50], pub next: *mut c_char, pub init_out: [c_char; 25], pub navail: c_short, pub inavail: c_short, pub EOF_signalled: Rboolean, pub UTF8out: Rboolean, pub id: *mut c_void, pub ex_ptr: *mut c_void, pub private: *mut c_void, pub status: c_int,
}

Fields§

§class: *mut c_char§description: *mut c_char§enc: c_int§mode: [c_char; 5]§text: Rboolean§isopen: Rboolean§incomplete: Rboolean§canread: Rboolean§canwrite: Rboolean§canseek: Rboolean§blocking: Rboolean§isGzcon: Rboolean§open: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn) -> Rboolean>§close: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn)>§destroy: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn)>§vfprintf: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn, arg2: *const c_char, arg3: va_list) -> c_int>§fgetc: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn) -> c_int>§fgetc_internal: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn) -> c_int>§seek: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn, arg2: c_double, arg3: c_int, arg4: c_int) -> c_double>§truncate: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn)>§fflush: Option<unsafe extern "C" fn(arg1: *mut Struct_Rconn) -> c_int>§read: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: size_t, arg3: size_t, arg4: *mut Struct_Rconn) -> size_t>§write: Option<unsafe extern "C" fn(arg1: *const c_void, arg2: size_t, arg3: size_t, arg4: *mut Struct_Rconn) -> size_t>§nPushBack: c_int§posPushBack: c_int§PushBack: *mut *mut c_char§save: c_int§save2: c_int§encname: [c_char; 101]§inconv: *mut c_void§outconv: *mut c_void§iconvbuff: [c_char; 25]§oconvbuff: [c_char; 50]§next: *mut c_char§init_out: [c_char; 25]§navail: c_short§inavail: c_short§EOF_signalled: Rboolean§UTF8out: Rboolean§id: *mut c_void§ex_ptr: *mut c_void§private: *mut c_void§status: c_int

Trait Implementations§

Source§

impl Clone for Struct_Rconn

Source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for Struct_Rconn

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for Struct_Rconn

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.