readstat_writer_s

Struct readstat_writer_s 

Source
#[repr(C)]
pub struct readstat_writer_s {
Show 30 fields pub data_writer: readstat_data_writer, pub bytes_written: usize, pub version: c_long, pub is_64bit: c_int, pub compression: readstat_compress_t, pub timestamp: time_t, pub variables: *mut *mut readstat_variable_t, pub variables_count: c_long, pub variables_capacity: c_long, pub label_sets: *mut *mut readstat_label_set_t, pub label_sets_count: c_long, pub label_sets_capacity: c_long, pub notes: *mut *mut c_char, pub notes_count: c_long, pub notes_capacity: c_long, pub string_refs: *mut *mut readstat_string_ref_t, pub string_refs_count: c_long, pub string_refs_capacity: c_long, pub row: *mut c_uchar, pub row_len: usize, pub row_count: c_int, pub current_row: c_int, pub file_label: [c_char; 257], pub table_name: [c_char; 33], pub fweight_variable: *const readstat_variable_t, pub callbacks: readstat_writer_callbacks_t, pub error_handler: readstat_error_handler, pub module_ctx: *mut c_void, pub user_ctx: *mut c_void, pub initialized: c_int,
}

Fields§

§data_writer: readstat_data_writer§bytes_written: usize§version: c_long§is_64bit: c_int§compression: readstat_compress_t§timestamp: time_t§variables: *mut *mut readstat_variable_t§variables_count: c_long§variables_capacity: c_long§label_sets: *mut *mut readstat_label_set_t§label_sets_count: c_long§label_sets_capacity: c_long§notes: *mut *mut c_char§notes_count: c_long§notes_capacity: c_long§string_refs: *mut *mut readstat_string_ref_t§string_refs_count: c_long§string_refs_capacity: c_long§row: *mut c_uchar§row_len: usize§row_count: c_int§current_row: c_int§file_label: [c_char; 257]§table_name: [c_char; 33]§fweight_variable: *const readstat_variable_t§callbacks: readstat_writer_callbacks_t§error_handler: readstat_error_handler§module_ctx: *mut c_void§user_ctx: *mut c_void§initialized: c_int

Trait Implementations§

Source§

impl Clone for readstat_writer_s

Source§

fn clone(&self) -> readstat_writer_s

Returns a duplicate 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 Debug for readstat_writer_s

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for readstat_writer_s

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.