pub enum SchemeElementType {
Show 44 variants
SourceFile,
Whitespace,
Newline,
Comment,
LineComment,
NumberLiteral,
StringLiteral,
CharacterLiteral,
BooleanLiteral,
Identifier,
Symbol,
Keyword,
Define,
Lambda,
If,
Cond,
Case,
Let,
LetStar,
Letrec,
Begin,
Do,
Quote,
Quasiquote,
Unquote,
UnquoteSplicing,
And,
Or,
Not,
Set,
LeftParen,
RightParen,
LeftBracket,
RightBracket,
LeftBrace,
RightBrace,
Dot,
Hash,
Quote_,
Quasiquote_,
Unquote_,
UnquoteSplicing_,
Error,
Eof,
}Variants§
SourceFile
Whitespace
Newline
Comment
LineComment
NumberLiteral
StringLiteral
CharacterLiteral
BooleanLiteral
Identifier
Symbol
Keyword
Define
Lambda
If
Cond
Case
Let
LetStar
Letrec
Begin
Do
Quote
Quasiquote
Unquote
UnquoteSplicing
And
Or
Not
Set
LeftParen
RightParen
LeftBracket
RightBracket
LeftBrace
RightBrace
Dot
Hash
Quote_
Quasiquote_
Unquote_
UnquoteSplicing_
Error
Eof
Trait Implementations§
Source§impl Clone for SchemeElementType
impl Clone for SchemeElementType
Source§fn clone(&self) -> SchemeElementType
fn clone(&self) -> SchemeElementType
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 SchemeElementType
impl Debug for SchemeElementType
Source§impl<'de> Deserialize<'de> for SchemeElementType
impl<'de> Deserialize<'de> for SchemeElementType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ElementType for SchemeElementType
impl ElementType for SchemeElementType
Source§type Role = UniversalElementRole
type Role = UniversalElementRole
The associated role type for this element kind.
Source§fn is_role(&self, role: Self::Role) -> bool
fn is_role(&self, role: Self::Role) -> bool
Returns true if this element matches the specified language-specific role.
Source§fn is_universal(&self, role: UniversalElementRole) -> bool
fn is_universal(&self, role: UniversalElementRole) -> bool
Returns true if this element matches the specified universal role.
Source§impl From<SchemeTokenType> for SchemeElementType
impl From<SchemeTokenType> for SchemeElementType
Source§fn from(token: SchemeTokenType) -> Self
fn from(token: SchemeTokenType) -> Self
Converts to this type from the input type.
Source§impl Hash for SchemeElementType
impl Hash for SchemeElementType
Source§impl PartialEq for SchemeElementType
impl PartialEq for SchemeElementType
Source§impl Serialize for SchemeElementType
impl Serialize for SchemeElementType
impl Copy for SchemeElementType
impl Eq for SchemeElementType
impl StructuralPartialEq for SchemeElementType
Auto Trait Implementations§
impl Freeze for SchemeElementType
impl RefUnwindSafe for SchemeElementType
impl Send for SchemeElementType
impl Sync for SchemeElementType
impl Unpin for SchemeElementType
impl UnwindSafe for SchemeElementType
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