std::fmt::Alignment
pub enum Alignment
- Kind
- enum
- Module
std::fmt- Since
- 1.28.0
Source: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
The entries of std::fmt in the Rust reference. This page has 107 cards.
pub enum Alignment
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct Arguments<'a>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_str(&self) -> Option<&'static str>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_str(s: &'static str) -> Arguments<'a>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub trait Binary
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
#[derive(Debug)]
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub enum DebugAsHex
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct DebugList<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn entries<D, I>(&mut self, entries: I) -> &mut DebugList<'a, 'b> where D: Debug, I: IntoIterator<Item = D>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn entry(&mut self, entry: &dyn Debug) -> &mut DebugList<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn entry_with<F>(&mut self, entry_fmt: F) -> &mut DebugList<'a, 'b> where F: FnOnce(&mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn finish(&mut self) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn finish_non_exhaustive(&mut self) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct DebugMap<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn entries<K, V, I>(&mut self, entries: I) -> &mut DebugMap<'a, 'b> where K: Debug, V: Debug, I: IntoIterator<Item = (K, V)>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn entry( &mut self, key: &dyn Debug, value: &dyn Debug, ) -> &mut DebugMap<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn finish(&mut self) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn finish_non_exhaustive(&mut self) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn key(&mut self, key: &dyn Debug) -> &mut DebugMap<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn key_with<F>(&mut self, key_fmt: F) -> &mut DebugMap<'a, 'b> where F: FnOnce(&mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn value(&mut self, value: &dyn Debug) -> &mut DebugMap<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn value_with<F>(&mut self, value_fmt: F) -> &mut DebugMap<'a, 'b> where F: FnOnce(&mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct DebugSet<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn entries<D, I>(&mut self, entries: I) -> &mut DebugSet<'a, 'b> where D: Debug, I: IntoIterator<Item = D>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn entry(&mut self, entry: &dyn Debug) -> &mut DebugSet<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn entry_with<F>(&mut self, entry_fmt: F) -> &mut DebugSet<'a, 'b> where F: FnOnce(&mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn finish(&mut self) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn finish_non_exhaustive(&mut self) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct DebugStruct<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn field( &mut self, name: &str, value: &dyn Debug, ) -> &mut DebugStruct<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn field_with<F>( &mut self, name: &str, value_fmt: F, ) -> &mut DebugStruct<'a, 'b> where F: FnOnce(&mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn finish(&mut self) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn finish_non_exhaustive(&mut self) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct DebugTuple<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn field(&mut self, value: &dyn Debug) -> &mut DebugTuple<'a, 'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn field_with<F>(&mut self, value_fmt: F) -> &mut DebugTuple<'a, 'b> where F: FnOnce(&mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn finish(&mut self) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn finish_non_exhaustive(&mut self) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub trait Display
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct Error
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn format(args: Arguments<'_>) -> String
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct Formatter<'a>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn align(&self) -> Option<Alignment>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn alternate(&self) -> bool
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn debug_list<'b>(&'b mut self) -> DebugList<'b, 'a>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn debug_map<'b>(&'b mut self) -> DebugMap<'b, 'a>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn debug_set<'b>(&'b mut self) -> DebugSet<'b, 'a>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn debug_struct<'b>(&'b mut self, name: &str) -> DebugStruct<'b, 'a>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn debug_tuple<'b>(&'b mut self, name: &str) -> DebugTuple<'b, 'a>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn fill(&self) -> char
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn flags(&self) -> u32
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn new( write: &'a mut dyn Write, options: FormattingOptions, ) -> Formatter<'a>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn options(&self) -> FormattingOptions
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn pad(&mut self, s: &str) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn pad_integral( &mut self, is_nonnegative: bool, prefix: &str, buf: &str, ) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn precision(&self) -> Option<usize>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn sign(&self) -> Option<Sign>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sign_aware_zero_pad(&self) -> bool
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sign_minus(&self) -> bool
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sign_plus(&self) -> bool
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn width(&self) -> Option<usize>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn with_options<'b>( &'b mut self, options: FormattingOptions, ) -> Formatter<'b>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn write_str(&mut self, data: &str) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct FormattingOptions
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn align( &mut self, align: Option<Alignment>, ) -> &mut FormattingOptions
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn alternate(&mut self, alternate: bool) -> &mut FormattingOptions
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn create_formatter<'a>( self, write: &'a mut dyn Write, ) -> Formatter<'a>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn debug_as_hex( &mut self, debug_as_hex: Option<DebugAsHex>, ) -> &mut FormattingOptions
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn fill(&mut self, fill: char) -> &mut FormattingOptions
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_align(&self) -> Option<Alignment>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_alternate(&self) -> bool
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_debug_as_hex(&self) -> Option<DebugAsHex>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_fill(&self) -> char
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_precision(&self) -> Option<u16>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_sign(&self) -> Option<Sign>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_sign_aware_zero_pad(&self) -> bool
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_width(&self) -> Option<u16>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn new() -> FormattingOptions
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn precision( &mut self, precision: Option<u16>, ) -> &mut FormattingOptions
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn sign(&mut self, sign: Option<Sign>) -> &mut FormattingOptions
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn sign_aware_zero_pad( &mut self, sign_aware_zero_pad: bool, ) -> &mut FormattingOptions
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn width(&mut self, width: Option<u16>) -> &mut FormattingOptions
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_fn<F>(f: F) -> FromFn<F> where F: Fn(&mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct FromFn<F>(/* private fields */)
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub trait LowerExp
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub trait LowerHex
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub trait Octal
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub trait Pointer
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub type Result = Result<(), Error>;
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub enum Sign
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub trait UpperExp
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub trait UpperHex
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub trait Write
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn write(output: &mut dyn Write, fmt: Arguments<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn write_char(&mut self, c: char) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn write_fmt(&mut self, args: Arguments<'_>) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn write_str(&mut self, s: &str) -> Result<(), Error>
std::fmtSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.