#[repr(C)]pub struct _GScanner {Show 21 fields
pub user_data: gpointer,
pub max_parse_errors: guint,
pub parse_errors: guint,
pub input_name: *const gchar,
pub qdata: *mut GData,
pub config: *mut GScannerConfig,
pub token: GTokenType,
pub value: GTokenValue,
pub line: guint,
pub position: guint,
pub next_token: GTokenType,
pub next_value: GTokenValue,
pub next_line: guint,
pub next_position: guint,
pub symbol_table: *mut GHashTable,
pub input_fd: gint,
pub text: *const gchar,
pub text_end: *const gchar,
pub buffer: *mut gchar,
pub scope_id: guint,
pub msg_handler: GScannerMsgFunc,
}Fields
user_data: gpointermax_parse_errors: guintparse_errors: guintinput_name: *const gcharqdata: *mut GDataconfig: *mut GScannerConfigtoken: GTokenTypevalue: GTokenValueline: guintposition: guintnext_token: GTokenTypenext_value: GTokenValuenext_line: guintnext_position: guintsymbol_table: *mut GHashTableinput_fd: ginttext: *const gchartext_end: *const gcharbuffer: *mut gcharscope_id: guintmsg_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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more