pub struct StringLiteralQuote<'a> {
pub string: Cow<'a, str>,
}Fields§
§string: Cow<'a, str>Implementations§
Source§impl<'a> StringLiteralQuote<'a>
impl<'a> StringLiteralQuote<'a>
pub fn lexical_form(&self) -> Result<String, &str>
Trait Implementations§
Source§impl<'a> Clone for StringLiteralQuote<'a>
impl<'a> Clone for StringLiteralQuote<'a>
Source§fn clone(&self) -> StringLiteralQuote<'a>
fn clone(&self) -> StringLiteralQuote<'a>
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<'a> Debug for StringLiteralQuote<'a>
impl<'a> Debug for StringLiteralQuote<'a>
Source§impl<'a> PartialEq for StringLiteralQuote<'a>
impl<'a> PartialEq for StringLiteralQuote<'a>
impl<'a> Eq for StringLiteralQuote<'a>
impl<'a> StructuralPartialEq for StringLiteralQuote<'a>
Auto Trait Implementations§
impl<'a> Freeze for StringLiteralQuote<'a>
impl<'a> RefUnwindSafe for StringLiteralQuote<'a>
impl<'a> Send for StringLiteralQuote<'a>
impl<'a> Sync for StringLiteralQuote<'a>
impl<'a> Unpin for StringLiteralQuote<'a>
impl<'a> UnwindSafe for StringLiteralQuote<'a>
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