#[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: gpointer
§max_parse_errors: c_uint
§parse_errors: c_uint
§input_name: *const c_char
§qdata: *mut GData
§config: *mut GScannerConfig
§token: GTokenType
§value: GTokenValue
§line: c_uint
§position: c_uint
§next_token: GTokenType
§next_value: GTokenValue
§next_line: c_uint
§next_position: c_uint
§symbol_table: *mut GHashTable
§input_fd: c_int
§text: *const c_char
§text_end: *const c_char
§buffer: *mut c_char
§scope_id: c_uint
§msg_handler: GScannerMsgFunc
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GScanner
impl RefUnwindSafe for GScanner
impl !Send for GScanner
impl !Sync for GScanner
impl Unpin for GScanner
impl UnwindSafe for GScanner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more