A priority queue implemented with a binary heap.
An ordered map based on a B-Tree.
An ordered set based on a B-Tree.
This module provides several user interfaces for describing a color to be
used throughout the rest of the library. The easiest way of describing a
colour is to use a
&str
or
String
, which is simply serialized as-is and
passed on to the underlying
plotly.js
library.
plotly.js
supports
CSS color formats
, and will fallback to some default color if the color string
is malformed.
When serializing or deserializing JSON goes wrong.
Formatting (and parsing) utilities for date and time.
A hash map implemented with quadratic probing and SIMD lookup.
A hash set implemented as a HashMap
where the value is ()
.
Traits, helpers, and type definitions for core I/O functionality.
A doubly-linked list with owned nodes.
A map of String to serde_json::Value.
Date and time types unconcerned with timezones.
The time zone, which calculates offsets from the local time to UTC.
A convenience module appropriate for glob imports (use chrono::prelude::*;
).
Serialization/Deserialization with serde.
The various supported traces
The Value enum, a loosely typed way of representing any valid JSON value.
Parse vbaProject.bin file
A double-ended queue (deque) implemented with a growable ring buffer.
This structure represents a safely precompiled version of a format string
and its arguments. This cannot be generated at runtime because it cannot
safely be done, so no constructors are given and the fields are private
to prevent modification.
An ordered map based on a
B-Tree.
An ordered set based on a B-Tree.
A priority queue implemented with a binary heap.
A struct to hold cell position and value
A struct to iterate over all cells
An iterator that links two iterators together, in a chain.
An iterator that clones the elements of an underlying iterator.
An iterator that copies the elements of an underlying iterator.
An iterator that repeats endlessly.
An iterator that yields nothing.
An iterator that yields the current count and the element during iteration.
An iterator that filters the elements of iter
with predicate
.
An iterator that uses f
to both filter and map elements from iter
.
An iterator that maps each element to an iterator, and yields the elements
of the produced iterators.
An iterator that flattens one level of nesting in an iterator of things
that can be turned into iterators.
Configuration for formatting.
An iterator where each iteration calls the provided closure F: FnMut() -> Option<T>
.
An iterator that yields None
forever after the underlying iterator
yields None
once.
A
hash map implemented with quadratic probing and SIMD lookup.
A
hash set implemented as a
HashMap
where the value is
()
.
An iterator that calls a function with a reference to each element before
yielding it.
A doubly-linked list with owned nodes.
An iterator that only accepts elements while predicate
returns Some(_)
.
Common file metadata
An iterator that yields an element exactly once.
An iterator that yields a single element of type A
by
applying the provided closure F: FnOnce() -> A
.
An iterator with a peek()
that returns an optional reference to the next
element.
RandomState
is the default state for
HashMap
types.
A struct which represents a squared selection of cells
An iterator that repeats an element endlessly.
An iterator that repeats elements of type A
endlessly by
applying the provided closure F: FnMut() -> A
.
A double-ended iterator with the direction inverted.
An iterator to read Range
struct row by row
An iterator to maintain state while iterating another iterator.
Metadata of sheet
An implementation of SipHash 2-4.
An iterator that skips over n
elements of iter
.
An iterator that rejects elements while predicate
returns true
.
An iterator for stepping iterators by a custom amount.
A new iterator where each successive item is computed based on the preceding one.
The error type for try_reserve
methods.
A double-ended queue implemented with a growable ring buffer.
An iterator over N
elements of the iterator at a time.
Construct a bar trace.
Construct a box trace.
Like Iterator::by_ref
, but requiring Sized
so it can forward generics.
Construct a candlestick trace.
Construct a contour trace.
ISO 8601 calendar date with time zone.
ISO 8601 combined date and time with time zone.
A duration in calendar days.
ISO 8601 time duration with nanosecond precision.
The time zone with fixed offset, from UTC-23:59:59 to UTC+23:59:59.
Construct a heat map trace.
Construct a histogram trace.
Construct an image trace.
An iterator over the mapped windows of another iterator.
Struct with the key elements of a table
An iterator that only iterates over the first n
iterations of iter
.
An iterator that only accepts elements while predicate
returns true
.
A struct to iterate over used cells
A struct representing xml zipped excel file
Xlsx, Xlsm, Xlam
An iterator that iterates two other iterators simultaneously.
An iterator adapter that places a separator between all elements.
An iterator adapter that places a separator between all elements.
ISO 8601 week.
The local timescale. This is implemented via the standard time
crate.
A duration in calendar months
ISO 8601 calendar date without timezone.
Allows for every
proleptic Gregorian date from Jan 1, 262145 BCE to Dec 31, 262143 CE.
Also supports the conversion from ISO 8601 ordinal and week date.
ISO 8601 combined date and time without timezone.
ISO 8601 time without timezone.
Allows for the nanosecond precision and optional leap second representation.
A week represented by a
NaiveDate
and a
Weekday
which is the first
day of the week.
Represents a JSON number, whether integer or floating point.
An OpenDocument Spreadsheet document parser
Construct an OHLC trace.
Out of range error type used in various converting APIs
Represents error when converting Duration
to/from a standard library
implementation
An error from the parse
function.
An error resulting from reading <Month>
value with FromStr
.
An error resulting from reading Weekday
value with FromStr
.
Plot is a container for structs that implement the Trace
trait. Optionally
a Layout
can also be specified. Its function is to serialize Trace
s and
the Layout
in html format and display and/or persist the resulting plot.
A configured Range
deserializer.
Builds a Range
deserializer with some configuration options.
Construct a Sankey trace.
Construct a scatter trace.
Construct a scatter3D trace.
Construct a polar scatter trace.
Iterator that deserializes a stream into multiple JSON values.
Construct a surface trace.
The UTC time zone. This is the most efficient time zone when you don’t need the local time.
It is also used as an offset (which is also a dummy type).
A struct representing an old xls format file (CFB)
Options to perform specialized parsing.
A Xlsb reader
A struct representing xml zipped excel file
Xlsx, Xlsm, Xlam
Used to do a cheap mutable-to-mutable reference conversion.
Used to do a cheap reference-to-reference conversion.
b
formatting.
A trait for creating instances of
Hasher
.
A trait to constrain cells
The common set of methods for date component.
?
formatting.
A data structure that can be deserialized from any data format supported
by Serde.
Format trait for an empty format, {}
.
An iterator able to yield elements from both ends.
Extension trait for rounding or truncating a DateTime by a Duration.
An iterator that knows its exact length.
Extend a collection with the contents of an iterator.
Used to do value-to-value conversions while consuming the input value. It is the reciprocal of
Into
.
An iterator that always continues to yield None
when exhausted.
A hashable type.
A trait for hashing an arbitrary stream of bytes.
A value-to-value conversion that consumes the input value. The
opposite of
From
.
A trait for dealing with iterators.
e
formatting.
x
formatting.
o
formatting.
p
formatting.
Trait to represent types that can be created by multiplying elements of an
iterator.
A trait to share spreadsheets reader functions across different FileType
s
Trait to represent types that can be created by summing up an iterator.
Constructs a deserializer for a CellType
.
Simple and safe type conversions that may fail in a controlled
way under some circumstances. It is the reciprocal of
TryInto
.
An attempted conversion that consumes self
, which may or may not be
expensive.
E
formatting.
X
formatting.
A trait for writing or formatting into Unicode-accepting buffers or streams.
Supporting trait for inherent methods of f32
and f64
such as to_int_unchecked
.
Typically doesn’t need to be used directly.
The offset from the local time to UTC.
A data structure that can be serialized into any data format supported
by Serde.
Objects that have a notion of successor and predecessor operations.
Extension trait for subsecond rounding or truncation to a maximum number
of digits. Rounding can be used to decrease the error variance when
serializing/persisting to lower precision. Truncation is the default
behavior in Chrono display formatting. Either can be used to guarantee
equality (e.g. for testing) when round-tripping through a lower precision
format.
The time zone.
The common set of methods for time component.
A struct that implements Trace
can be serialized to json format that is
understood by Plotly.js.
An iterator that reports an accurate length using size_hint.
A type that upholds all invariants of
Step
.
Creates an iterator that yields nothing.
The
format
function takes an
Arguments
struct and returns the resulting
formatted string.
Creates a new iterator where each iteration calls the provided closure
F: FnMut() -> Option<T>
.
The identity function.
Creates an iterator that yields an element exactly once.
Creates an iterator that lazily generates a value exactly once by invoking
the provided closure.
Convenient function to open a file with a BufReader
Opens a workbook and define the file type at runtime.
Opens a workbook from the given bytes.
Convenient function to open a file with a BufReader
Creates a new iterator that endlessly repeats a single element.
Creates a new iterator that repeats elements of type A
endlessly by
applying the provided closure, the repeater, F: FnMut() -> A
.
Creates a new iterator where each successive item is computed based on the preceding one.
The write
function takes an output stream, and an Arguments
struct
that can be precompiled with the format_args!
macro.
Converts the arguments to iterators and zips them.
Creates a new iterator where each iteration calls the provided coroutine.
Deserialize an instance of type T
from an I/O stream of JSON.
Deserialize an instance of type T
from bytes of JSON text.
Deserialize an instance of type T
from a string of JSON text.
Interpret a serde_json::Value
as an instance of type T
.
Serialize the given data structure as a String of JSON.
Serialize the given data structure as a pretty-printed String of JSON.
Convert a T
into serde_json::Value
which is an enum that can represent
any valid JSON data.
Serialize the given data structure as a JSON byte vector.
Serialize the given data structure as a pretty-printed JSON byte vector.
Serialize the given data structure as JSON into the I/O stream.
Serialize the given data structure as pretty-printed JSON into the I/O
stream.