Struct GScanner
#[repr(C)]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 _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 _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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more