pub struct ElementText {
pub text: String,
/* private fields */
}
Fields§
§text: String
Implementations§
Source§impl ElementText
impl ElementText
pub fn new(text: &str) -> ElementText
pub fn handle_delimeters(&self) -> String
pub fn split_text(&self) -> Vec<BlockChildType>
pub fn remove_escapes(&mut self) -> &Self
Auto Trait Implementations§
impl Freeze for ElementText
impl RefUnwindSafe for ElementText
impl Send for ElementText
impl Sync for ElementText
impl Unpin for ElementText
impl UnwindSafe for ElementText
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