#[repr(C)]pub struct pm_heredoc_lex_mode_t {
pub ident_start: *const u8,
pub ident_length: usize,
pub quote: pm_heredoc_quote_t,
pub indent: pm_heredoc_indent_t,
}
Expand description
All of the information necessary to store to lexing a heredoc.
Fields§
§ident_start: *const u8
A pointer to the start of the heredoc identifier.
ident_length: usize
The length of the heredoc identifier.
quote: pm_heredoc_quote_t
The type of quote that the heredoc uses.
indent: pm_heredoc_indent_t
The type of indentation that the heredoc uses.
Trait Implementations§
Source§impl Clone for pm_heredoc_lex_mode_t
impl Clone for pm_heredoc_lex_mode_t
Source§fn clone(&self) -> pm_heredoc_lex_mode_t
fn clone(&self) -> pm_heredoc_lex_mode_t
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_heredoc_lex_mode_t
impl Debug for pm_heredoc_lex_mode_t
Source§impl Default for pm_heredoc_lex_mode_t
impl Default for pm_heredoc_lex_mode_t
impl Copy for pm_heredoc_lex_mode_t
Auto Trait Implementations§
impl Freeze for pm_heredoc_lex_mode_t
impl RefUnwindSafe for pm_heredoc_lex_mode_t
impl !Send for pm_heredoc_lex_mode_t
impl !Sync for pm_heredoc_lex_mode_t
impl Unpin for pm_heredoc_lex_mode_t
impl UnwindSafe for pm_heredoc_lex_mode_t
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