pub struct LitBool {
pub value: bool,
pub span: Span,
}
A boolean literal: true
or false
.
This type is available if Syn is built with the "derive"
or
"full"
feature.
A short name of the type being parsed. Read more
Write self
to the given TokenStream
. Read more
Convert self
directly into a TokenStream
object. Read more
Formats the value using the given formatter. Read more
Performs copy-assignment from source
. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Feeds this value into the given [Hasher
]. Read more
Feeds a slice of this type into the given [Hasher
]. Read more