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 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 StringSyntax
impl Debug for StringSyntax
Source§impl PartialEq for StringSyntax
impl PartialEq for StringSyntax
impl Copy for StringSyntax
impl StructuralPartialEq for StringSyntax
Auto Trait Implementations§
impl Freeze for StringSyntax
impl RefUnwindSafe for StringSyntax
impl Send for StringSyntax
impl Sync for StringSyntax
impl Unpin for StringSyntax
impl UnwindSafe for StringSyntax
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