[−][src]Enum rustc_parse_format::Flag
Various flags which can be applied to format strings. The meaning of these flags is defined by the formatters themselves.
Variants
A + will be used to denote positive numbers.
A - will be used to denote negative numbers. This is the default.
An alternate form will be used for the value. In the case of numbers, this means that the number will be prefixed with the supplied string.
For numbers, this means that the number will be padded with zeroes,
and the sign (+ or -) will precede them.
For Debug / ?, format integers in lower-case hexadecimal.
For Debug / ?, format integers in upper-case hexadecimal.
Trait Implementations
impl Clone for Flag[src]
impl Copy for Flag[src]
impl Debug for Flag[src]
impl PartialEq<Flag> for Flag[src]
pub fn eq(&self, other: &Flag) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralPartialEq for Flag[src]
Auto Trait Implementations
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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>,