Crate tc_value[][src]

Expand description

Provides a generic scalar Value enum which supports collation.

This library is part of Tinychain: http://github.com/haydnv/tinychain

Structs

Boolean

A boolean value.

BooleanType

The type of a Boolean.

ComplexCollator

Defines a collation order for Complex.

FloatCollator

Defines a collation order for Float.

Link

A link to a network resource.

LinkHost

The host portion of a Link (e.g. “http://127.0.0.1:8702”)

NumberCollator

Defines a collation order for Number.

NumberVisitor

A struct for deserializing a Number which implements destream::de::Visitor and serde::de::Visitor.

Range

A range comprising a start and end Bound

ValueCollator

Collate support for Value

ValueVisitor

A struct for deserializing a Value which implements destream::de::Visitor and serde::de::Visitor.

Enums

Bound

An optional inclusive or exclusive bound

Complex

A complex number.

ComplexType

The type of a Complex number.

Float

A floating-point number.

FloatType

The type of a Float.

Int

A signed integer.

IntType

The type of an Int.

LinkAddress

The address portion of a Link (an IP address)

LinkProtocol

The protocol portion of a Link (e.g. “http”)

Number

A generic number.

NumberType

The type of a generic Number.

UInt

An unsigned integer.

UIntType

The type of a UInt.

Value

A generic value enum

ValueType

The class of a Value.

Constants

EX

The prefix of an exclusive Bound

IN

The prefix of an inclusive Bound

Traits

NumberClass

Defines common properties of numeric types supported by Number.

NumberInstance

Defines common operations on numeric types supported by Number.