pub struct PendingHeredoc {
pub label: Arc<str>,
pub allow_indent: bool,
pub quote: QuoteKind,
pub decl_span: ByteSpan,
}Expand description
Declaration info captured at parse time.
Fields§
§label: Arc<str>Exact terminator token that ends this heredoc.
allow_indent: boolTrue for indented heredocs (<<~), allows leading whitespace before terminator.
quote: QuoteKindQuoting style determining interpolation behavior.
decl_span: ByteSpanSource span of the heredoc declaration (e.g., <<EOF).
Trait Implementations§
Source§impl Clone for PendingHeredoc
impl Clone for PendingHeredoc
Source§fn clone(&self) -> PendingHeredoc
fn clone(&self) -> PendingHeredoc
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 moreAuto Trait Implementations§
impl Freeze for PendingHeredoc
impl RefUnwindSafe for PendingHeredoc
impl Send for PendingHeredoc
impl Sync for PendingHeredoc
impl Unpin for PendingHeredoc
impl UnsafeUnpin for PendingHeredoc
impl UnwindSafe for PendingHeredoc
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