pub enum LiteralStringKind {
SingleQuoted,
DoubleQuoted,
Multiline,
}Expand description
Represents the kind of a literal string.
Variants§
SingleQuoted
The string is a single quoted string.
DoubleQuoted
The string is a double quoted string.
Multiline
The string is a multi-line string.
Trait Implementations§
Source§impl Clone for LiteralStringKind
impl Clone for LiteralStringKind
Source§fn clone(&self) -> LiteralStringKind
fn clone(&self) -> LiteralStringKind
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 Debug for LiteralStringKind
impl Debug for LiteralStringKind
Source§impl PartialEq for LiteralStringKind
impl PartialEq for LiteralStringKind
impl Copy for LiteralStringKind
impl Eq for LiteralStringKind
impl StructuralPartialEq for LiteralStringKind
Auto Trait Implementations§
impl Freeze for LiteralStringKind
impl RefUnwindSafe for LiteralStringKind
impl Send for LiteralStringKind
impl Sync for LiteralStringKind
impl Unpin for LiteralStringKind
impl UnwindSafe for LiteralStringKind
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