Enum rt_format::argument::Segment [−][src]
pub enum Segment<'s, V: FormattableValue> { Text(&'s str), Argument(Argument<'s, V>), }
Expand description
A single segment of a formatting string.
Variants
Text(&'s str)Text to be sent to the formatter.
Argument(Argument<'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