#[repr(i8)]pub enum ConversionFlag {
None = -1,
Str = 115,
Ascii = 97,
Repr = 114,
}
Expand description
Transforms a value prior to formatting it.
Variants§
None = -1
No conversion
Str = 115
Converts by calling str(<value>)
.
Ascii = 97
Converts by calling ascii(<value>)
.
Repr = 114
Converts by calling repr(<value>)
.
Implementations§
Trait Implementations§
source§impl Clone for ConversionFlag
impl Clone for ConversionFlag
source§fn clone(&self) -> ConversionFlag
fn clone(&self) -> ConversionFlag
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConversionFlag
impl Debug for ConversionFlag
source§impl Hash for ConversionFlag
impl Hash for ConversionFlag
source§impl OpArgType for ConversionFlag
impl OpArgType for ConversionFlag
source§impl PartialEq for ConversionFlag
impl PartialEq for ConversionFlag
source§fn eq(&self, other: &ConversionFlag) -> bool
fn eq(&self, other: &ConversionFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConversionFlag
impl Eq for ConversionFlag
impl StructuralPartialEq for ConversionFlag
Auto Trait Implementations§
impl Freeze for ConversionFlag
impl RefUnwindSafe for ConversionFlag
impl Send for ConversionFlag
impl Sync for ConversionFlag
impl Unpin for ConversionFlag
impl UnwindSafe for ConversionFlag
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more