Re-exports

pub use std::fmt::Write as _;
pub use async_condvar_fair::BatonExt as _;
pub use boolinator::Boolinator as _;
pub use either::Left;
pub use either::Right;
pub use lazy_regex;
pub use tempfile;
pub use crate::crates::zipfile;
pub use crate::deref_to_field;
pub use crate::deref_to_field_mut;
pub use crate::ensure_eq;
pub use crate::format_by_fmt_hex;
pub use crate::impl_via_ambassador;
pub use crate::want;
pub use crate::wantok;
pub use crate::wants;
pub use crate::want_let;
pub use crate::want_failed_internal;
pub use crate::serde_with_compat;
pub use crate::accounts::loaded_acl;
pub use crate::accounts::loaded_acl::EffectiveACL;
pub use crate::accounts::loaded_acl::LoadedAcl;
pub use crate::accounts::loaded_acl::PermSet;
pub use crate::accounts::*;
pub use crate::asseturl::*;
pub use crate::bundles;
pub use crate::bundles::InstanceBundles;
pub use crate::bundles::MgmtBundleListExt;
pub use crate::commands::AccessTokenInfo;
pub use crate::commands::AccessTokenReport;
pub use crate::commands::MgmtError;
pub use crate::commands::MgmtCommand;
pub use crate::commands::MgmtResponse;
pub use crate::commands::MgmtGameInstruction;
pub use crate::commands::MgmtGameResponse;
pub use crate::commands::MgmtBundleList;
pub use crate::commands::MgmtGameUpdateMode;
pub use crate::commands::MgmtGamePieceInfo;
pub use crate::commands::ProgressUpdateMode;
pub use crate::debugreader::DebugReader;
pub use crate::error::*;
pub use crate::fastsplit::*;
pub use crate::gamestate::*;
pub use crate::global::*;
pub use crate::hidden::*;
pub use crate::nwtemplates;
pub use crate::materials_format;
pub use crate::mgmtchannel::*;
pub use crate::occultilks::*;
pub use crate::organise;
pub use crate::outline::*;
pub use crate::pcaliases::*;
pub use crate::pcrender::*;
pub use crate::pieces::*;
pub use crate::shapelib;
pub use crate::shapelib::ItemEnquiryData;
pub use crate::shapelib::LibraryEnquiryData;
pub use crate::shapelib::LibraryLoadError;
pub use crate::spec::*;
pub use crate::spec::imp::ColourSpecExt as _;
pub use crate::spec::imp::OptionPieceAngleSpecExt as _;
pub use crate::spec::piece_specs::FaceColourSpecs;
pub use crate::spec::piece_specs::SimpleCommon;
pub use crate::updates::*;
pub use crate::utils::*;
pub use crate::ui::*;
pub use crate::gamestate::RefTraitObjectPieceTraitExt as _;
pub use crate::fastsplit::RefTraitObjectPieceTraitExt as _;
pub use PieceLoadArgs as PLA;
pub use OccultationKindGeneral as OccKG;
pub use OccultationKindAlwaysOk as OccKA;
pub use materials_format::VersionError as MFVE;
pub use PriOccultedGeneral as PriOG;
pub use shapelib::LibraryLoadError as LLE;
pub use shapelib::LibraryLoadMFIncompat as LLMI;
pub use OpOutcomeThunkGeneric as OOTG;
pub use SVGSizeError as SvSE;

Modules

Utilities for formatting and printing Strings.

Composable external iteration.

Multi-producer, single-consumer FIFO queue communication primitives.

Unicode string slices.

Native threads.

Macros

Derive macro generating an impl of the trait Debug.

Derive macro generating an impl of the trait Hash.

Generate the boilerplate for a newtyped index struct, for use with IndexVec.

Adds downcasting support to traits that extend downcast::Downcast by defining forwarding methods to the corresponding implementations on std::any::Any in the standard library.

A macro equivalent to the stdlib’s vec![], but producing an IndexVec.

Return a lazy static Regex checked at compilation time and built at first use.

Extract captured groups as a tuple of &str.

Throw an error.

Structs

A boolean type which can be safely shared between threads.

Condition variable (for async)

An enum mapping.

Configuration for formatting.

A slice that only accepts indices of a specific type. Note that the intended usage is as IndexSlice<I, [T]>.

A Vec that only accepts indices of a specific type.

A named temporary file.

An integer that is known not to equal zero.

A wrapper around floats providing implementations of Eq, Ord, and Hash.

Borrowed reference to an OS string (see OsString).

An owned, mutable path (akin to String).

A compiled regular expression for matching Unicode strings.

Double-ended queue with stable indices

The main point of interaction in this library.

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

Case Insensitive wrapper of strings.

A parsed URL record.

Provides intentionally-wrapped arithmetic on T.

A struct for reading a zip file

Enums

The enum Either with variants Left and Right is a general purpose sum type with two cases.

The error type for errors that can never happen.

The empty type for cases which can’t occur.

Error type for Zip

Constants

Everything that is not an ASCII letter or digit.

Traits

A trait to emulate dynamic typing.

Implements a compilation time default value for the implemented type.

An Eq-like trait that produces a Choice instead of a bool.

? formatting.

Format trait for an empty format, {}.

Supports conversion to Any. Traits to be extended by impl_downcast! must extend Downcast.

Simplifies the use of the DynCast trait by abstracting away the difference between different ways of storing trait objects.

Enum mapping type.

Error is a trait representing the basic expectations for error values, i.e., values of type E in Result<T, E>.

Parse a value from a string

A hashable type.

Extensions to Result<Void, E>

Extensions to Result<T, Void>

Types that can be used as an index for a Deque.

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

Percent-decode the given string.

Creates a new iterator that repeats elements of type A endlessly by applying the provided closure, the repeater, F: FnMut() -> A.

Puts the current thread to sleep for at least the specified amount of time.

A safe version of intrinsincs::unreachable.

Percent-encode the UTF-8 encoding of the given string.

Type Definitions

Attribute Macros

Annotating a trait or enum definition with an #[enum_dispatch] attribute will register it with the enum_dispatch library, allowing it to be used to generate impl blocks elsewhere.

Derive Macros

Derives an implementation for the ConstDefault trait.

Derive macro generating an implementation of trait Enum.