Enum steamy_vdf::Entry [] [src]

pub enum Entry {
    Table(Table),
    Array(Array),
    Statement(Statement),
    Value(Value),
}

The kinds of entry.

Variants

A table.

An array (entries with the same key).

A statement (the values starting with #).

A value.

Methods

impl Entry
[src]

Lookup an entry with a path.

Try to get the named entry.

Try to convert the entry to the given type.

Try to take the entry as a table.

Try to take the entry as a slice.

Try to take the entry as a statement.

Try to take the entry as a value.

Try to take the entry as a string.

Trait Implementations

impl Clone for Entry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Entry
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Entry
[src]

impl Debug for Entry
[src]

Formats the value using the given formatter.