pub struct SsmlFormatterBase { /* private fields */ }Implementations§
Source§impl SsmlFormatterBase
impl SsmlFormatterBase
pub fn new(options: FormatterOptions) -> Self
pub fn format_node_internal(&self, node: &AstNode) -> Result<String>
pub fn format_section_close(&self, node: &AstNode) -> Result<String>
pub fn attribute_to_tag(&self, key: &str, value: &str) -> Option<TagInfo>
pub fn escape_xml(&self, text: &str) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SsmlFormatterBase
impl RefUnwindSafe for SsmlFormatterBase
impl Send for SsmlFormatterBase
impl Sync for SsmlFormatterBase
impl Unpin for SsmlFormatterBase
impl UnsafeUnpin for SsmlFormatterBase
impl UnwindSafe for SsmlFormatterBase
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