Trait StringUtil
Source pub trait StringUtil {
Show 18 methods
// Required methods
fn replace_ws(self) -> String;
fn to_em(self, options: &MdOptions) -> String;
fn to_bold(self, options: &MdOptions) -> String;
fn to_inline(self, options: &MdOptions) -> String;
fn to_header(self, level: usize, options: &MdOptions) -> String;
fn to_right(self, width: usize, options: &MdOptions) -> String;
fn to_right_em(self, width: usize, options: &MdOptions) -> String;
fn to_right_bold(self, width: usize, options: &MdOptions) -> String;
fn to_left(self, width: usize, options: &MdOptions) -> String;
fn to_left_em(self, width: usize, options: &MdOptions) -> String;
fn to_left_bold(self, width: usize, options: &MdOptions) -> String;
fn to_center(self, width: usize, options: &MdOptions) -> String;
fn to_center_em(self, width: usize, options: &MdOptions) -> String;
fn to_center_bold(self, width: usize, options: &MdOptions) -> String;
fn to_title_case(self) -> String;
fn to_words_title_case(self) -> String;
fn to_cap_acronyms(self) -> String;
fn format_date_time(self, params: MdParams<'_>) -> Option<String>;
}