#[repr(C)]pub struct pm_parser__bindgen_ty_1 {
pub current: *mut pm_lex_mode_t,
pub stack: [pm_lex_mode_t; 4],
pub index: usize,
}
Expand description
A stack of lex modes.
Fields§
§current: *mut pm_lex_mode_t
The current mode of the lexer.
stack: [pm_lex_mode_t; 4]
The stack of lexer modes.
index: usize
The current index into the lexer mode stack.
Trait Implementations§
Source§impl Clone for pm_parser__bindgen_ty_1
impl Clone for pm_parser__bindgen_ty_1
Source§fn clone(&self) -> pm_parser__bindgen_ty_1
fn clone(&self) -> pm_parser__bindgen_ty_1
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for pm_parser__bindgen_ty_1
impl Debug for pm_parser__bindgen_ty_1
Source§impl Default for pm_parser__bindgen_ty_1
impl Default for pm_parser__bindgen_ty_1
impl Copy for pm_parser__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for pm_parser__bindgen_ty_1
impl RefUnwindSafe for pm_parser__bindgen_ty_1
impl !Send for pm_parser__bindgen_ty_1
impl !Sync for pm_parser__bindgen_ty_1
impl Unpin for pm_parser__bindgen_ty_1
impl UnwindSafe for pm_parser__bindgen_ty_1
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