pub enum GuraType {
Show 17 variants
Null,
Indentation(usize),
UselessLine,
Pair(String, Box<GuraType>, usize),
Comment,
Import(String),
Variable,
ObjectWithWs(IndexMap<String, Box<GuraType>>, usize),
Object(IndexMap<String, Box<GuraType>>),
Bool(bool),
String(String),
Integer(isize),
BigInteger(i128),
Float(f64),
Array(Vec<GuraType>),
WsOrNewLine,
BreakParent,
}
Expand description
Data types to be returned by match expression methods.
Indentation (intended to be used internally).
Tuple Fields of Indentation
An empty line (intended to be used internally).
Pair of key/value. (intended to be used internally. Users normally uses Object to map key/values).
Comment (intended to be used internally).
Importing sentence (intended to be used internally).
Indicates matching with a variable definition (intended to be used internally).
Object with information about indentation (intended to be used internally).
Tuple Fields of ObjectWithWs
Object with its key/value pairs.
Tuple Fields of BigInteger
Spaces or new line characters (intended to be used internally).
Indicates the ending of an object (intended to be used internally).
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Implements indexing by &str
to easily access object members:
The returned type after indexing.
Performs the indexing (container[index]
) operation. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Implements Eq with primitive types
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String
. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.