pub enum QuoteTarget {
Text,
DoubleQAttr,
SingleQAttr,
}Variants§
Text
Escape data for a text content. No additional escape symbols
DoubleQAttr
Escape data for a double-quoted attribute. " always escaped
SingleQAttr
Escape data for a single-quoted attribute. ' always escaped
Trait Implementations§
Source§impl Clone for QuoteTarget
impl Clone for QuoteTarget
Source§fn clone(&self) -> QuoteTarget
fn clone(&self) -> QuoteTarget
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 QuoteTarget
impl Debug for QuoteTarget
Source§impl PartialEq for QuoteTarget
impl PartialEq for QuoteTarget
impl Copy for QuoteTarget
impl Eq for QuoteTarget
impl StructuralPartialEq for QuoteTarget
Auto Trait Implementations§
impl Freeze for QuoteTarget
impl RefUnwindSafe for QuoteTarget
impl Send for QuoteTarget
impl Sync for QuoteTarget
impl Unpin for QuoteTarget
impl UnwindSafe for QuoteTarget
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