[−][src]Enum rustc_builtin_macros::format_foreign::printf::Num
A general number used in a printf formatting directive.
Variants
Num(u16)A specific, fixed value.
Arg(u16)The value is derived from a positional argument.
The value is derived from the "next" unconverted argument.
Implementations
impl Num[src]
pub(in format_foreign::printf) fn from_str(
s: &str,
arg: Option<&str>
) -> Self[src]
s: &str,
arg: Option<&str>
) -> Self
pub(in format_foreign::printf) fn translate(
&self,
s: &mut String
) -> Result[src]
&self,
s: &mut String
) -> Result
Trait Implementations
impl Clone for Num[src]
impl Copy for Num[src]
impl Debug for Num[src]
impl PartialEq<Num> for Num[src]
impl StructuralPartialEq for Num[src]
Auto Trait Implementations
impl RefUnwindSafe for Num
impl Send for Num
impl Sync for Num
impl Unpin for Num
impl UnwindSafe for Num
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,