Re-exports

pub use std::fmt::Write as _;
pub use crate::html::*;
pub use crate::pos_zip_map;
pub use crate::pos_zip_try_map;
pub use crate::geometry::CoordinateOverflow;
pub use crate::geometry::PosC;
pub use crate::geometry::PosPromote;
pub use crate::dbgc;
pub use crate::hformat;
pub use crate::hformat_as_display;
pub use crate::hwrite;
pub use crate::misc::default;
pub use crate::misc::display_as_debug;
pub use crate::if_let;

Modules

Utilities for formatting and printing Strings.

Composable external iteration.

Basic functions for dealing with memory.

Unicode string slices.

Macros

Derive macro generating an impl of the trait Debug.

Derive macro generating an impl of the trait Hash.

Chain zero or more iterators together into one sequence.

Macro for writing nested if let expressions.

Create an iterator over the “cartesian product” of iterators.

Create an iterator running multiple iterators in lockstep.

Throw an error.

Structs

A vector with a fixed capacity.

Configuration for formatting.

The error type returned when a checked integral type conversion fails.

Provides intentionally-wrapped arithmetic on T.

Enums

Value that either holds a single A or B, or both.

An Ordering is the result of a comparison between two values.

The empty type for cases which can’t occur.

Constants

The full circle constant (τ)

Traits

A trait for borrowing data.

? formatting.

Used for immutable dereferencing operations, like *v.

Used for mutable dereferencing operations, like in *v = 1;.

A data structure that can be deserialized from any data format supported by Serde.

Format trait for an empty format, {}.

Parse a value from a string

An iterator that always continues to yield None when exhausted.

A hashable type.

A trait for hashing an arbitrary stream of bytes.

Used for indexing operations (container[index]) in immutable contexts.

Used for indexing operations (container[index]) in mutable contexts.

An Iterator blanket implementation that provides extra adaptors and methods.

A data structure that can be serialized into any data format supported by Serde.

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.

Functions

Create an iterator that first iterates i and then j.

Compares and returns the maximum of two values.

Iterate i and j in lock step.

Attribute Macros

See crate docs for more info.

Derive Macros

Deserialize value by using its FromStr implementation

Serialize value by using it’s Display implementation