#[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,
}

Fields

user_data: gpointermax_parse_errors: c_uintparse_errors: c_uintinput_name: *const c_charqdata: *mut GDataconfig: *mut GScannerConfigtoken: GTokenTypevalue: GTokenValueline: c_uintposition: c_uintnext_token: GTokenTypenext_value: GTokenValuenext_line: c_uintnext_position: c_uintsymbol_table: *mut GHashTableinput_fd: c_inttext: *const c_chartext_end: *const c_charbuffer: *mut c_charscope_id: c_uintmsg_handler: GScannerMsgFunc

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. 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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.