pub struct ParsedStringLiteral {
pub value: String,
pub interpolation_mode: Option<InterpolationMode>,
pub is_content: bool,
}Fields§
§value: String§interpolation_mode: Option<InterpolationMode>§is_content: booltrue when the source used a c prefix (content string).
Trait Implementations§
Source§impl Clone for ParsedStringLiteral
impl Clone for ParsedStringLiteral
Source§fn clone(&self) -> ParsedStringLiteral
fn clone(&self) -> ParsedStringLiteral
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 ParsedStringLiteral
impl Debug for ParsedStringLiteral
Source§impl PartialEq for ParsedStringLiteral
impl PartialEq for ParsedStringLiteral
impl Eq for ParsedStringLiteral
impl StructuralPartialEq for ParsedStringLiteral
Auto Trait Implementations§
impl Freeze for ParsedStringLiteral
impl RefUnwindSafe for ParsedStringLiteral
impl Send for ParsedStringLiteral
impl Sync for ParsedStringLiteral
impl Unpin for ParsedStringLiteral
impl UnsafeUnpin for ParsedStringLiteral
impl UnwindSafe for ParsedStringLiteral
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