pub enum QuoteKind {
Unquoted,
Single,
Double,
Backtick,
}Expand description
Quoting style used in a heredoc declaration.
Variants§
Unquoted
Bare identifier (e.g., <<EOF), interpolates like double-quoted.
Single
Single-quoted (e.g., <<'EOF'), no interpolation.
Double
Double-quoted (e.g., <<"EOF"), interpolates variables and escapes.
Backtick
Backtick (e.g., <<EOF``), command execution.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QuoteKind
impl RefUnwindSafe for QuoteKind
impl Send for QuoteKind
impl Sync for QuoteKind
impl Unpin for QuoteKind
impl UnsafeUnpin for QuoteKind
impl UnwindSafe for QuoteKind
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