Enum serde_lexpr::print::StringSyntax
source · pub enum StringSyntax {
R6RS,
Elisp,
}
Expand description
Indicates the syntax for strings.
Variants§
R6RS
Syntax as specified the R6RS.
Note that there is no R7RS variant, because R6RS specifies a superset of R7RS syntax. When printing however, the syntax used will be restricted to be understood by an R7RS parser.
Elisp
Emacs Lisp syntax.
Note that unibyte strings will be parsed as byte vectors.
Trait Implementations§
source§impl Clone for StringSyntax
impl Clone for StringSyntax
source§fn clone(&self) -> StringSyntax
fn clone(&self) -> StringSyntax
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 StringSyntax
impl Debug for StringSyntax
source§impl PartialEq<StringSyntax> for StringSyntax
impl PartialEq<StringSyntax> for StringSyntax
source§fn eq(&self, other: &StringSyntax) -> bool
fn eq(&self, other: &StringSyntax) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.