Enum syntex_fmt_macros::Piece
[−]
[src]
pub enum Piece<'a> { String(&'a str), NextArgument(Argument<'a>), }
A piece is a portion of the format string which represents the next part
to emit. These are emitted as a stream by the Parser
class.
Variants
String(&'a str)
A literal string which should directly be emitted
NextArgument(Argument<'a>)
This describes that formatting should process the next argument (as specified inside) for emission.
Trait Implementations
impl<'a> Copy for Piece<'a>
[src]
impl<'a> Clone for Piece<'a>
[src]
fn clone(&self) -> Piece<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more