pub enum QuotedChars {
SingleOrDoubleQuotes,
DoubleQuotes,
SingleQuotes,
Other(u8),
}Available on crate feature
std only.Expand description
What characters are considered “quotes”
Variants§
SingleOrDoubleQuotes
Matches “ or ’
DoubleQuotes
Matches only “
SingleQuotes
Matches only ’
Other(u8)
Matches only the specified character
Trait Implementations§
Source§impl Clone for QuotedChars
impl Clone for QuotedChars
Source§fn clone(&self) -> QuotedChars
fn clone(&self) -> QuotedChars
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 QuotedChars
impl Debug for QuotedChars
Source§impl Default for QuotedChars
impl Default for QuotedChars
Source§fn default() -> QuotedChars
fn default() -> QuotedChars
Returns the “default value” for a type. Read more
impl Copy for QuotedChars
Auto Trait Implementations§
impl Freeze for QuotedChars
impl RefUnwindSafe for QuotedChars
impl Send for QuotedChars
impl Sync for QuotedChars
impl Unpin for QuotedChars
impl UnwindSafe for QuotedChars
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