[−][src]Enum toml_parse::TomlKind
Variants
the text of a comment.
A signed 64 bit number.
True or false.
The token when a key is not surrounded by quotes.
Single quote.
Double quote, used for keys and strings.
Triple quote, used for literal strings.
+
-
=
#
,
,
:
opening brace {
.
closing brace }
.
opening brace [
.
closing brace ]
.
All whitespace tokens, newline, indent, space and tab are all represented by this token.
End of file token.
A table heading surounded by brackets.
An array of tables heading
A segmented Heading
Ident.
An inline table where the key is the "heading" and key value pairs inside of curly braces.
A key and a value, any other valid toml type.
A key either Ident
or double quoted.
Any valid toml type after a key.
A toml array.
Toml date TODO this is one of with offset, without, local, time, date and datetime.
A toml table consisting of a heading and key value pairs. An signed 64 bit EEE 754-2008 "binary64" number.
One of three string types, literal single quote, normal double quote and literal triple double quote. (like python doc comments)
A comment in the toml file, a Hash
token followed by CommentText
.
the "empty" root node representing a whole file.
Trait Implementations
impl Clone for TomlKind
[src]
impl Copy for TomlKind
[src]
impl Debug for TomlKind
[src]
impl Eq for TomlKind
[src]
impl From<TomlKind> for SyntaxKind
[src]
impl Hash for TomlKind
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for TomlKind
[src]
fn cmp(&self, other: &TomlKind) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<TomlKind> for TomlKind
[src]
impl PartialOrd<TomlKind> for TomlKind
[src]
fn partial_cmp(&self, other: &TomlKind) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for TomlKind
[src]
impl StructuralPartialEq for TomlKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for TomlKind
impl Send for TomlKind
impl Sync for TomlKind
impl Unpin for TomlKind
impl UnwindSafe for TomlKind
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,
fn borrow_mut(&mut self) -> &mut T
[src]
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,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,