pub enum ClojureElementType {
Token,
List,
Vector,
Map,
Set,
AnonFn,
Root,
SourceFile,
Error,
}Variants§
Trait Implementations§
Source§impl Clone for ClojureElementType
impl Clone for ClojureElementType
Source§fn clone(&self) -> ClojureElementType
fn clone(&self) -> ClojureElementType
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 ClojureElementType
impl Debug for ClojureElementType
Source§impl<'de> Deserialize<'de> for ClojureElementType
impl<'de> Deserialize<'de> for ClojureElementType
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 ClojureElementType
impl ElementType for ClojureElementType
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<ClojureTokenType> for ClojureElementType
impl From<ClojureTokenType> for ClojureElementType
Source§fn from(token: ClojureTokenType) -> Self
fn from(token: ClojureTokenType) -> Self
Converts to this type from the input type.
Source§impl Hash for ClojureElementType
impl Hash for ClojureElementType
Source§impl PartialEq for ClojureElementType
impl PartialEq for ClojureElementType
Source§impl Serialize for ClojureElementType
impl Serialize for ClojureElementType
impl Copy for ClojureElementType
impl Eq for ClojureElementType
impl StructuralPartialEq for ClojureElementType
Auto Trait Implementations§
impl Freeze for ClojureElementType
impl RefUnwindSafe for ClojureElementType
impl Send for ClojureElementType
impl Sync for ClojureElementType
impl Unpin for ClojureElementType
impl UnwindSafe for ClojureElementType
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