#[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: GScannerMsgFuncTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GScanner
impl !Send for GScanner
impl !Sync for GScanner
impl Unpin for GScanner
impl UnwindSafe for GScanner
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more