#[repr(C)]pub struct pm_lex_mode__bindgen_ty_2__bindgen_ty_4 {
pub base: pm_heredoc_lex_mode_t,
pub next_start: *const u8,
pub common_whitespace: *mut usize,
pub line_continuation: bool,
}Fields§
§base: pm_heredoc_lex_mode_tAll of the data necessary to lex a heredoc.
next_start: *const u8This is the pointer to the character where lexing should resume once the heredoc has been completely processed.
common_whitespace: *mut usizeThis is used to track the amount of common whitespace on each line so that we know how much to dedent each line in the case of a tilde heredoc.
line_continuation: boolTrue if the previous token ended with a line continuation.
Trait Implementations§
Source§impl Clone for pm_lex_mode__bindgen_ty_2__bindgen_ty_4
impl Clone for pm_lex_mode__bindgen_ty_2__bindgen_ty_4
Source§fn clone(&self) -> pm_lex_mode__bindgen_ty_2__bindgen_ty_4
fn clone(&self) -> pm_lex_mode__bindgen_ty_2__bindgen_ty_4
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 moreimpl Copy for pm_lex_mode__bindgen_ty_2__bindgen_ty_4
Auto Trait Implementations§
impl Freeze for pm_lex_mode__bindgen_ty_2__bindgen_ty_4
impl RefUnwindSafe for pm_lex_mode__bindgen_ty_2__bindgen_ty_4
impl !Send for pm_lex_mode__bindgen_ty_2__bindgen_ty_4
impl !Sync for pm_lex_mode__bindgen_ty_2__bindgen_ty_4
impl Unpin for pm_lex_mode__bindgen_ty_2__bindgen_ty_4
impl UnwindSafe for pm_lex_mode__bindgen_ty_2__bindgen_ty_4
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