pub struct RenameOptions {
pub rename_in_comments: bool,
pub rename_in_strings: bool,
pub validate_new_name: bool,
}Expand description
Options for rename operation
Fields§
§rename_in_comments: boolWhether to rename in comments
rename_in_strings: boolWhether to rename in strings
validate_new_name: boolWhether to validate the new name
Trait Implementations§
Source§impl Clone for RenameOptions
impl Clone for RenameOptions
Source§fn clone(&self) -> RenameOptions
fn clone(&self) -> RenameOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenameOptions
impl Debug for RenameOptions
Source§impl Default for RenameOptions
impl Default for RenameOptions
Source§fn default() -> RenameOptions
fn default() -> RenameOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenameOptions
impl RefUnwindSafe for RenameOptions
impl Send for RenameOptions
impl Sync for RenameOptions
impl Unpin for RenameOptions
impl UnsafeUnpin for RenameOptions
impl UnwindSafe for RenameOptions
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