pub struct GScanner {Show 21 fields
pub user_data: *mut c_void,
pub max_parse_errors: u32,
pub parse_errors: u32,
pub input_name: *const i8,
pub qdata: *mut *mut _GData,
pub config: *mut GScannerConfig,
pub token: i32,
pub value: GTokenValue,
pub line: u32,
pub position: u32,
pub next_token: i32,
pub next_value: GTokenValue,
pub next_line: u32,
pub next_position: u32,
pub symbol_table: *mut GHashTable,
pub input_fd: i32,
pub text: *const i8,
pub text_end: *const i8,
pub buffer: *mut i8,
pub scope_id: u32,
pub msg_handler: Option<unsafe extern "C" fn(_: *mut GScanner, _: *mut i8, _: i32)>,
}
§msg_handler: Option<unsafe extern "C" fn(_: *mut GScanner, _: *mut i8, _: i32)>
Performs copy-assignment from
source.
Read more
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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
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.