pub enum FormatPreconversor {
Str,
Repr,
Ascii,
Bytes,
}
Variants§
Implementations§
source§impl FormatPreconversor
impl FormatPreconversor
pub fn from_char(c: char) -> Option<FormatPreconversor>
Trait Implementations§
source§impl Clone for FormatPreconversor
impl Clone for FormatPreconversor
source§fn clone(&self) -> FormatPreconversor
fn clone(&self) -> FormatPreconversor
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 FormatPreconversor
impl Debug for FormatPreconversor
source§impl PartialEq<FormatPreconversor> for FormatPreconversor
impl PartialEq<FormatPreconversor> for FormatPreconversor
source§fn eq(&self, other: &FormatPreconversor) -> bool
fn eq(&self, other: &FormatPreconversor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.