Module tinychain::scalar[][src]

Immutable values which always reside entirely in memory

Re-exports

pub use op::*;
pub use reference::*;

Modules

op

User-defined OpDefs.

reference

Utilities to reference to a State within a Txn, and resolve that TCRef.

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”)

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

ScalarVisitor

A de::Visitor used to deserialize a Scalar.

Scope

The execution scope of a Scalar, such as an OpDef or TCRef

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.

Scalar

A scalar value, i.e. one which is always held in main memory and never split into blocks.

ScalarType

The Class of a Scalar.

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

SELF

The label of an instance in its own method context

Traits

NumberClass

Defines common properties of numeric types supported by Number.

NumberInstance

Defines common operations on numeric types supported by Number.