pub struct RustEditor { /* private fields */ }Implementations§
Source§impl RustEditor
impl RustEditor
Source§impl RustEditor
impl RustEditor
Sourcepub fn add_doc_comment_surgical(
&mut self,
target_type: &str,
target_name: &str,
doc_text: &str,
style: &DocCommentStyle,
) -> Result<ModificationResult>
pub fn add_doc_comment_surgical( &mut self, target_type: &str, target_name: &str, doc_text: &str, style: &DocCommentStyle, ) -> Result<ModificationResult>
Add a documentation comment to a target item using surgical editing
Sourcepub fn update_doc_comment_surgical(
&mut self,
target_type: &str,
target_name: &str,
doc_text: &str,
style: &DocCommentStyle,
) -> Result<ModificationResult>
pub fn update_doc_comment_surgical( &mut self, target_type: &str, target_name: &str, doc_text: &str, style: &DocCommentStyle, ) -> Result<ModificationResult>
Update an existing documentation comment on a target item using surgical editing
Sourcepub fn remove_doc_comment_surgical(
&mut self,
target_type: &str,
target_name: &str,
) -> Result<ModificationResult>
pub fn remove_doc_comment_surgical( &mut self, target_type: &str, target_name: &str, ) -> Result<ModificationResult>
Remove a documentation comment from a target item using surgical editing
Auto Trait Implementations§
impl Freeze for RustEditor
impl RefUnwindSafe for RustEditor
impl !Send for RustEditor
impl !Sync for RustEditor
impl Unpin for RustEditor
impl UnwindSafe for RustEditor
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