[−][src]Enum serde_lexpr::print::KeywordSyntax
pub enum KeywordSyntax { ColonPrefix, ColonPostfix, Octothorpe, }
Indicates a syntax of keywords.
Variants
Parse identifiers starting with a colon as keywords.
In the absence of this option, such identifiers would be parsed as symbols.
Parse identifiers ending with a colon as keywords.
In the absence of this option, such identifiers would be parsed as symbols.
Parse identifiers prefixed with #:
as keywords.
In the absence of this option, the sequence #:
will result
in a parser error.
Trait Implementations
impl Clone for KeywordSyntax
[src][+]
impl Copy for KeywordSyntax
[src]
impl Debug for KeywordSyntax
[src][+]
impl PartialEq<KeywordSyntax> for KeywordSyntax
[src][+]
impl StructuralPartialEq for KeywordSyntax
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeywordSyntax
impl Send for KeywordSyntax
impl Sync for KeywordSyntax
impl Unpin for KeywordSyntax
impl UnwindSafe for KeywordSyntax
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,