Struct harriet::StringLiteralQuote
source · [−]Fields
string: Cow<'a, str>Implementations
sourceimpl<'a> StringLiteralQuote<'a>
impl<'a> StringLiteralQuote<'a>
pub fn lexical_form(&self) -> Result<String, &str>
Trait Implementations
sourceimpl<'a> Clone for StringLiteralQuote<'a>
impl<'a> Clone for StringLiteralQuote<'a>
sourcefn clone(&self) -> StringLiteralQuote<'a>
fn clone(&self) -> StringLiteralQuote<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'a> Debug for StringLiteralQuote<'a>
impl<'a> Debug for StringLiteralQuote<'a>
sourceimpl<'a> PartialEq<StringLiteralQuote<'a>> for StringLiteralQuote<'a>
impl<'a> PartialEq<StringLiteralQuote<'a>> for StringLiteralQuote<'a>
sourcefn eq(&self, other: &StringLiteralQuote<'a>) -> bool
fn eq(&self, other: &StringLiteralQuote<'a>) -> bool
impl<'a> Eq for StringLiteralQuote<'a>
impl<'a> StructuralEq for StringLiteralQuote<'a>
impl<'a> StructuralPartialEq for StringLiteralQuote<'a>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more