[−][src]Trait quoted_string::spec::QuotingClassifier
Type to provide a quoting classification method.
This is normally a zero-sized type.
Required methods
fn classify_for_quoting(pcp: PartialCodePoint) -> QuotingClass
Returns the "class" the partial code point belongs too
This is either QTest
, NeedsQuoting
or Invalid
.
As this function accepts PartialCodePoint
it can not
differ between different utf-8 characters, which happens
to be fine for all supported quoting use cases.