pub struct WorkspaceSearchResult {
pub id: BufferId,
pub uri: Option<String>,
pub matches: Vec<SearchMatch>,
}Expand description
Search matches for a single open buffer in a Workspace.
Fields§
§id: BufferIdBuffer id.
uri: Option<String>Optional URI/path metadata.
matches: Vec<SearchMatch>All matches in this buffer (character offsets, half-open).
Trait Implementations§
Source§impl Clone for WorkspaceSearchResult
impl Clone for WorkspaceSearchResult
Source§fn clone(&self) -> WorkspaceSearchResult
fn clone(&self) -> WorkspaceSearchResult
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 WorkspaceSearchResult
impl Debug for WorkspaceSearchResult
Source§impl PartialEq for WorkspaceSearchResult
impl PartialEq for WorkspaceSearchResult
impl Eq for WorkspaceSearchResult
impl StructuralPartialEq for WorkspaceSearchResult
Auto Trait Implementations§
impl Freeze for WorkspaceSearchResult
impl RefUnwindSafe for WorkspaceSearchResult
impl Send for WorkspaceSearchResult
impl Sync for WorkspaceSearchResult
impl Unpin for WorkspaceSearchResult
impl UnsafeUnpin for WorkspaceSearchResult
impl UnwindSafe for WorkspaceSearchResult
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