Module otter_base::prelude [−][src]
Re-exports
pub use std::fmt::Write as _;
pub use void;
pub use crate::html::*;
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 String
s.
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
.
Macro for writing nested if let
expressions.
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
An Ordering
is the result of a comparison between two values.
The empty type for cases which can’t occur.
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
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.
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
Compares and returns the maximum of two values.