Enum subscript_compiler::frontend::ast::HighlightKind [−][src]
pub enum HighlightKind<'a> { CurlyBrace, SquareParen, Parens, Fragment, Error { open: Atom<'a>, close: Option<Atom<'a>>, }, InvalidToken(Atom<'a>), Ident(Atom<'a>), }
Variants
InvalidToken(Atom<'a>)
Ident(Atom<'a>)
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for HighlightKind<'a>
impl<'a> Send for HighlightKind<'a>
impl<'a> Sync for HighlightKind<'a>
impl<'a> Unpin for HighlightKind<'a>
impl<'a> UnwindSafe for HighlightKind<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more