#[repr(C)]
pub struct GScanner {Show 21 fields
pub user_data: gpointer,
pub max_parse_errors: c_uint,
pub parse_errors: c_uint,
pub input_name: *const c_char,
pub qdata: *mut GData,
pub config: *mut GScannerConfig,
pub token: GTokenType,
pub value: GTokenValue,
pub line: c_uint,
pub position: c_uint,
pub next_token: GTokenType,
pub next_value: GTokenValue,
pub next_line: c_uint,
pub next_position: c_uint,
pub symbol_table: *mut GHashTable,
pub input_fd: c_int,
pub text: *const c_char,
pub text_end: *const c_char,
pub buffer: *mut c_char,
pub scope_id: c_uint,
pub msg_handler: GScannerMsgFunc,
}
§msg_handler: GScannerMsgFunc
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.