fn format_into<W, A>(&self, mut write: W, args: &mut ArgumentAccess<A>) -> Result<(), Error<'a>>
    where
        W: io::Write,
        A: FormatArgs,
    {
        if let FormatType::Literal(literal) = self.format {
            return write!(write, "{}", literal).map_err(Error::Io);
        }

        Formatter::new(write)
            .with_type(self.format)
            .with_alternate(self.alternate)
            .format(args.get_pos(self.position)?)
            .map_err(|e| Error::from_serialize(e, self.position))
    }
/// Executes the formatter for this argument and writes the result into the given writer.
Executes the formatter for this argument and writes the result into the given writer.
Executes the formatter for this argument and writes the result into the given writer .
fn format_into<W, A>(&self, mut write: W, args: &mut ArgumentAccess<A>) -> Result<(), Error<'a>>
    where
        W: io::Write,
        A: FormatArgs,
    {
        if let FormatType::Literal(literal) = self.format {
            return write!(write, "{}", literal).map_err(Error::Io);
        }
        Formatter::new(write)
            .with_type(self.format)
            .with_alternate(self.alternate)
            .format(args.get_pos(self.position)?)
            .map_err(|e| Error::from_serialize(e, self.position))
    }
fn format_into < W , A > ( & self , mut write : W , args : & mut ArgumentAccess < A > ) -> Result < ( ) , Error < ' a > > where W : io :: Write , A : FormatArgs , { if let FormatType :: Literal ( literal ) = self . format { return write ! ( write " " literal ) . map_err ( Error :: Io ) ; } Formatter :: new ( write ) . with_type ( self . format ) . with_alternate ( self . alternate ) . format ( args . get_pos ( self . position ) ? ) . map_err ( | e | Error :: from_serialize ( e , self . position ) ) }
Executes the formatter for this argument and writes the result into the given writer.
Executes the formatter for this argument and writes the result into the given writer .
&self
write
W
args
&mut ArgumentAccess<A>