pub struct IdeSelection {
pub file_path: String,
pub selected_text: Option<String>,
pub cursor_position: Option<CursorPosition>,
}Expand description
IDE selection
Fields§
§file_path: StringFile path
selected_text: Option<String>Selected text
cursor_position: Option<CursorPosition>Cursor position
Trait Implementations§
Source§impl Clone for IdeSelection
impl Clone for IdeSelection
Source§fn clone(&self) -> IdeSelection
fn clone(&self) -> IdeSelection
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 IdeSelection
impl Debug for IdeSelection
Source§impl<'de> Deserialize<'de> for IdeSelection
impl<'de> Deserialize<'de> for IdeSelection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IdeSelection
impl RefUnwindSafe for IdeSelection
impl Send for IdeSelection
impl Sync for IdeSelection
impl Unpin for IdeSelection
impl UnsafeUnpin for IdeSelection
impl UnwindSafe for IdeSelection
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