Enum rt_format::parser::Segment [−][src]
pub enum Segment<'s, V: FormatArgument> {
Text(&'s str),
Substitution(Substitution<'s, V>),
}Expand description
A single segment of a formatting string.
Variants
Text(&'s str)
Tuple Fields
0: &'s strText to be sent to the formatter.
Substitution(Substitution<'s, V>)
Tuple Fields
0: Substitution<'s, V>A value ready to be formatted.
Trait Implementations
Auto Trait Implementations
impl<'s, V> RefUnwindSafe for Segment<'s, V> where
V: RefUnwindSafe,
impl<'s, V> UnwindSafe for Segment<'s, V> where
V: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
