pub enum QuotingClass {
QText,
NeedsQuoting,
Invalid,
}
Expand description
Represents if a char can be contained in a quoted string and if it needs escapeing
Variants§
QText
The char can be represented in a quoted string
NeedsQuoting
The char can be represented but needs quoting (e.g. the “ in r#"bla\"blo"#
)
Invalid
The char is invalid (e.g. a CTL char)
Trait Implementations§
Source§impl Clone for QuotingClass
impl Clone for QuotingClass
Source§fn clone(&self) -> QuotingClass
fn clone(&self) -> QuotingClass
Returns a copy 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 QuotingClass
impl Debug for QuotingClass
Source§impl Hash for QuotingClass
impl Hash for QuotingClass
Source§impl PartialEq for QuotingClass
impl PartialEq for QuotingClass
impl Eq for QuotingClass
impl StructuralPartialEq for QuotingClass
Auto Trait Implementations§
impl Freeze for QuotingClass
impl RefUnwindSafe for QuotingClass
impl Send for QuotingClass
impl Sync for QuotingClass
impl Unpin for QuotingClass
impl UnwindSafe for QuotingClass
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