pub struct StringLiteral {
pub value: String,
pub quote: QuoteStyle,
}Expand description
A decoded string value and its delimiter style.
Fields§
§value: String§quote: QuoteStyleTrait Implementations§
Source§impl Clone for StringLiteral
impl Clone for StringLiteral
Source§impl Debug for StringLiteral
impl Debug for StringLiteral
impl Eq for StringLiteral
Source§impl Hash for StringLiteral
impl Hash for StringLiteral
Source§impl PartialEq for StringLiteral
impl PartialEq for StringLiteral
impl StructuralPartialEq for StringLiteral
Auto Trait Implementations§
impl Freeze for StringLiteral
impl RefUnwindSafe for StringLiteral
impl Send for StringLiteral
impl Sync for StringLiteral
impl Unpin for StringLiteral
impl UnsafeUnpin for StringLiteral
impl UnwindSafe for StringLiteral
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