doc.rust-lang.org
pub mod future
Asynchronous basic functionality.
module
core
Stable since 1.36.0
Version 1.100.0-nightly
doc.rust-lang.org
pub macro format_args!
Constructs parameters for the other string-formatting macros.
macro
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
primitive fn
Function pointers, like fn(usize) -> bool.
primitive
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn write(output: &mut dyn Write, fmt: Arguments<'_>) -> Result
Takes an output stream and an Arguments struct that can be precompiled with the format_args! macro.
function
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn new() -> Self
Initializes internal buffer.
associated_function
core
Stable since 1.98.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct NumBuffer<T>
A buffer wrapper of which the internal size is based on the maximum number of digits the associated integer can have.
struct
core
Stable since 1.98.0
Version 1.100.0-nightly
doc.rust-lang.org
derive #[derive(Debug)]
Derive macro generating an impl of the trait Debug.
derive_macro
core
Stable since 1.38.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn from_fn<F>(f: F) -> FromFn<F>
Creates a type whose fmt::Debug and fmt::Display impls are forwarded to the provided closure.
function
core
Stable since 1.93.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct FromFn<F>
Implements fmt::Debug and fmt::Display via the provided closure.
struct
core
Stable since 1.93.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn finish_non_exhaustive(&mut self) -> fmt::Result
Marks the tuple struct as non-exhaustive, indicating to the reader that there are some other fields that are not shown in the debug representation.
method
core
Stable since 1.83.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn finish(&mut self) -> fmt::Result
Finishes output and returns any error encountered.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn field(&mut self, value: &dyn fmt::Debug) -> &mut Self
Adds a new field to the generated tuple struct output.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct DebugTuple<'a, 'b>
A struct to help with fmt::Debug implementations.
struct
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn finish_non_exhaustive(&mut self) -> fmt::Result
Marks the struct as non-exhaustive, indicating to the reader that there are some other fields that are not shown in the debug representation.
method
core
Stable since 1.53.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn finish(&mut self) -> fmt::Result
Finishes output and returns any error encountered.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn field(&mut self, name: &str, value: &dyn fmt::Debug) -> &mut Self
Adds a new field to the generated struct output.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct DebugStruct<'a, 'b>
A struct to help with fmt::Debug implementations.
struct
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn finish_non_exhaustive(&mut self) -> fmt::Result
Marks the set as non-exhaustive, indicating to the reader that there are some other elements that are not shown in the debug representation.
method
core
Stable since 1.83.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn finish(&mut self) -> fmt::Result
Finishes output and returns any error encountered.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn entry(&mut self, entry: &dyn fmt::Debug) -> &mut Self
Adds a new entry to the set output.
method
core
Stable since 1.2.0
Version 1.100.0-nightly