serdeModule __private
Source pub use self::string::from_utf8_lossy;
pub use crate::lib::option::Option::None;
pub use crate::lib::option::Option::Some;
pub use crate::lib::result::Result::Err;
pub use crate::lib::result::Result::Ok;
- de
- doc
- fmt
- Utilities for formatting and printing strings.
- ptr
- Manually manage memory through raw pointers.
- ser
- Formatter
- Configuration for formatting.
- PhantomData
- Zero-sized type used to mark things that “act like” they own a
T
. - Vec
- A contiguous growable array type, written as
Vec<T>
, short for ‘vector’.
- Option
- The
Option
type. See the module level documentation for more. - Result
Result
is a type that represents either success (Ok
) or failure (Err
).
- Clone
- A common trait for the ability to explicitly duplicate an object.
- Default
- A trait for giving a type a useful default value.
- From
- Used to do value-to-value conversions while consuming the input value. It is the reciprocal of
Into
. - Into
- A value-to-value conversion that consumes the input value. The
opposite of
From
. - ToString
- A trait for converting a value to a
String
. - TryFrom
- Simple and safe type conversions that may fail in a controlled
way under some circumstances. It is the reciprocal of
TryInto
.
- Clone
- Derive macro generating an impl of the trait
Clone
. - Default
- Derive macro generating an impl of the trait
Default
.