pub struct RenameResult {
pub edits: Vec<TextEdit>,
pub is_valid: bool,
pub error: Option<String>,
}Expand description
Result of a rename operation
Fields§
§edits: Vec<TextEdit>All edits to apply
is_valid: boolWhether the rename is valid
error: Option<String>Error message if not valid
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenameResult
impl RefUnwindSafe for RenameResult
impl Send for RenameResult
impl Sync for RenameResult
impl Unpin for RenameResult
impl UnsafeUnpin for RenameResult
impl UnwindSafe for RenameResult
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