Enum syntax_ext::format_foreign::printf::Num [−][src]
🔬 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?
A general number used in a printf formatting directive.
Variants
Num(u16)🔬 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?
A specific, fixed value.
Arg(u16)🔬 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 value is derived from a positional argument.
Next🔬 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 value is derived from the "next" unconverted argument.
Methods
impl Num[src]
impl Numfn from_str(s: &str, arg: Option<&str>) -> Self[src]
fn from_str(s: &str, arg: Option<&str>) -> Self🔬 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?
fn translate(&self, s: &mut String) -> Result[src]
fn translate(&self, s: &mut String) -> Result🔬 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?
Trait Implementations
impl Copy for Num[src]
impl Copy for Numimpl Clone for Num[src]
impl Clone for Numfn clone(&self) -> Num[src]
fn clone(&self) -> NumReturns 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 Eq for Num[src]
impl Eq for Numfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl PartialEq for Num[src]
impl PartialEq for Numfn eq(&self, other: &Num) -> bool[src]
fn eq(&self, other: &Num) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Num) -> bool[src]
fn ne(&self, other: &Num) -> boolThis method tests for !=.
impl Debug for Num[src]
impl Debug for Num