Struct valkyrie_parser::StringFormatterBuilder
source · pub struct StringFormatterBuilder { /* private fields */ }
Expand description
Build a formatted string
"""
abc
\n\r\u{123}
{a}
{b:fmt}
{c, a: f}
"""
Implementations§
Trait Implementations§
source§impl StringInterpreter for StringFormatterBuilder
impl StringInterpreter for StringFormatterBuilder
§type Output = FormatterNode
type Output = FormatterNode
The output type of the interpreter
source§fn interpret(&mut self, text: &StringTextNode) -> Validation<Self::Output>
fn interpret(&mut self, text: &StringTextNode) -> Validation<Self::Output>
Interpret the string
Auto Trait Implementations§
impl RefUnwindSafe for StringFormatterBuilder
impl Send for StringFormatterBuilder
impl Sync for StringFormatterBuilder
impl Unpin for StringFormatterBuilder
impl UnwindSafe for StringFormatterBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more