pub struct DocEditor { /* private fields */ }Expand description
Implementations§
Source§impl DocEditor
impl DocEditor
Sourcepub fn replace_text(self, find: &str, replace: &str) -> Self
pub fn replace_text(self, find: &str, replace: &str) -> Self
Replaces all occurrences of find with replace in the document text.
Corresponds to Hutool’s placeholder replacement pattern (which Hutool itself does not provide — users must use raw POI).
Returns the number of replacements made.
Auto Trait Implementations§
impl Freeze for DocEditor
impl RefUnwindSafe for DocEditor
impl Send for DocEditor
impl Sync for DocEditor
impl Unpin for DocEditor
impl UnsafeUnpin for DocEditor
impl UnwindSafe for DocEditor
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