#[repr(C)]pub struct pm_lex_mode__bindgen_ty_2__bindgen_ty_3 {
pub nesting: usize,
pub interpolation: bool,
pub label_allowed: bool,
pub incrementor: u8,
pub terminator: u8,
pub breakpoints: [u8; 7],
}Fields§
§nesting: usizeThis keeps track of the nesting level of the string.
interpolation: boolWhether or not interpolation is allowed in this string.
label_allowed: boolWhether or not at the end of the string we should allow a :, which would indicate this was a dynamic symbol instead of a string.
incrementor: u8When lexing a string, it takes into account balancing the terminator if the terminator is one of (), [], {}, or <>.
terminator: u8This is the terminator of the string. It is typically either a single or double quote.
breakpoints: [u8; 7]This is the character set that should be used to delimit the tokens within the string.
Trait Implementations§
Source§impl Clone for pm_lex_mode__bindgen_ty_2__bindgen_ty_3
impl Clone for pm_lex_mode__bindgen_ty_2__bindgen_ty_3
Source§fn clone(&self) -> pm_lex_mode__bindgen_ty_2__bindgen_ty_3
fn clone(&self) -> pm_lex_mode__bindgen_ty_2__bindgen_ty_3
Returns a duplicate 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 Default for pm_lex_mode__bindgen_ty_2__bindgen_ty_3
impl Default for pm_lex_mode__bindgen_ty_2__bindgen_ty_3
Source§fn default() -> pm_lex_mode__bindgen_ty_2__bindgen_ty_3
fn default() -> pm_lex_mode__bindgen_ty_2__bindgen_ty_3
Returns the “default value” for a type. Read more
impl Copy for pm_lex_mode__bindgen_ty_2__bindgen_ty_3
Auto Trait Implementations§
impl Freeze for pm_lex_mode__bindgen_ty_2__bindgen_ty_3
impl RefUnwindSafe for pm_lex_mode__bindgen_ty_2__bindgen_ty_3
impl Send for pm_lex_mode__bindgen_ty_2__bindgen_ty_3
impl Sync for pm_lex_mode__bindgen_ty_2__bindgen_ty_3
impl Unpin for pm_lex_mode__bindgen_ty_2__bindgen_ty_3
impl UnwindSafe for pm_lex_mode__bindgen_ty_2__bindgen_ty_3
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