Enum quoted_string::spec::QuotingClass [−][src]
pub enum QuotingClass {
QText,
NeedsQuoting,
Invalid,
}Represents if a char can be contained in a quoted string and if it needs escapeing
Variants
QTextThe char can be represented in a quoted string
NeedsQuotingThe char can be represented but needs quoting (e.g. the " in r#"bla\"blo"#)
InvalidThe char is invalid (e.g. a CTL char)
Trait Implementations
impl Debug for QuotingClass[src]
impl Debug for QuotingClassfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for QuotingClass[src]
impl Eq for QuotingClassimpl PartialEq for QuotingClass[src]
impl PartialEq for QuotingClassfn eq(&self, other: &QuotingClass) -> bool[src]
fn eq(&self, other: &QuotingClass) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Hash for QuotingClass[src]
impl Hash for QuotingClassfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for QuotingClass[src]
impl Clone for QuotingClassfn clone(&self) -> QuotingClass[src]
fn clone(&self) -> QuotingClassReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for QuotingClass
impl Send for QuotingClassimpl Sync for QuotingClass
impl Sync for QuotingClass