Module otter_base::prelude [−][src]
Re-exports
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::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
fmt | Utilities for formatting and printing |
iter | Composable external iteration. |
mem | Basic functions for dealing with memory. |
str | Unicode string slices. |
Macros
Debug | Derive macro generating an impl of the trait |
Hash | Derive macro generating an impl of the trait |
if_chain | Macro for writing nested |
izip | Create an iterator running multiple iterators in lockstep. |
throw | Throw an error. |
Structs
ArrayVec | A vector with a fixed capacity. |
Formatter | Configuration for formatting. |
TryFromIntError | The error type returned when a checked integral type conversion fails. |
Wrapping | Provides intentionally-wrapped arithmetic on |
Enums
Ordering | An |
Void | The empty type for cases which can’t occur. |
Traits
Borrow | A trait for borrowing data. |
Debug |
|
Deref | Used for immutable dereferencing operations, like |
DerefMut | Used for mutable dereferencing operations, like in |
Deserialize | A data structure that can be deserialized from any data format supported by Serde. |
Display | Format trait for an empty format, |
FromStr | Parse a value from a string |
Hash | A hashable type. |
Hasher | A trait for hashing an arbitrary stream of bytes. |
Index | Used for indexing operations ( |
IndexMut | Used for indexing operations ( |
Serialize | A data structure that can be serialized into any data format supported by Serde. |
TryFrom | 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 |
Functions
max | Compares and returns the maximum of two values. |
Attribute Macros
ext | See crate docs for more info. |
throws |
Derive Macros
Deserialize | |
DeserializeFromStr | Deserialize value by using it’s |
Error | |
Serialize | |
SerializeDisplay | Serialize value by using it’s |