Struct fmt_macros::FormatSpec
[−]
[src]
pub struct FormatSpec<'a> { pub fill: Option<char>, pub align: Alignment, pub flags: u32, pub precision: Count<'a>, pub width: Count<'a>, pub ty: &'a str, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Specification for the formatting of an argument in the format string.
Fields
fill: Option<char>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Optionally specified character to fill alignment with
align: Alignment
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Optionally specified alignment
flags: u32
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Packed version of various flags provided
precision: Count<'a>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
The integer precision to use
width: Count<'a>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
The string width requested for the resulting format
ty: &'a str
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
The descriptor string representing the name of the format desired for this argument, this can be empty or any number of characters, although it is required to be one word.
Trait Implementations
impl<'a> Copy for FormatSpec<'a>
[src]
impl<'a> Copy for FormatSpec<'a>
impl<'a> Clone for FormatSpec<'a>
[src]
impl<'a> Clone for FormatSpec<'a>
fn clone(&self) -> FormatSpec<'a>
[src]
fn clone(&self) -> FormatSpec<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<'a> PartialEq for FormatSpec<'a>
[src]
impl<'a> PartialEq for FormatSpec<'a>
fn eq(&self, __arg_0: &FormatSpec<'a>) -> bool
[src]
fn eq(&self, __arg_0: &FormatSpec<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FormatSpec<'a>) -> bool
[src]
fn ne(&self, __arg_0: &FormatSpec<'a>) -> bool
This method tests for !=
.
Auto Trait Implementations
impl<'a> Send for FormatSpec<'a>
impl<'a> Send for FormatSpec<'a>
impl<'a> Sync for FormatSpec<'a>
impl<'a> Sync for FormatSpec<'a>