pub struct GScanner {Show 21 fields
pub user_data: *mut c_void,
pub max_parse_errors: u32,
pub parse_errors: u32,
pub input_name: *const i8,
pub qdata: *mut *mut _GData,
pub config: *mut GScannerConfig,
pub token: i32,
pub value: GTokenValue,
pub line: u32,
pub position: u32,
pub next_token: i32,
pub next_value: GTokenValue,
pub next_line: u32,
pub next_position: u32,
pub symbol_table: *mut GHashTable,
pub input_fd: i32,
pub text: *const i8,
pub text_end: *const i8,
pub buffer: *mut i8,
pub scope_id: u32,
pub msg_handler: Option<unsafe extern "C" fn(_: *mut GScanner, _: *mut i8, _: i32)>,
}
Fields§
§user_data: *mut c_void
§max_parse_errors: u32
§parse_errors: u32
§input_name: *const i8
§qdata: *mut *mut _GData
§config: *mut GScannerConfig
§token: i32
§value: GTokenValue
§line: u32
§position: u32
§next_token: i32
§next_value: GTokenValue
§next_line: u32
§next_position: u32
§symbol_table: *mut GHashTable
§input_fd: i32
§text: *const i8
§text_end: *const i8
§buffer: *mut i8
§scope_id: u32
§msg_handler: Option<unsafe extern "C" fn(_: *mut GScanner, _: *mut i8, _: i32)>
Trait 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§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.