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§impl Debug for WorkspaceSearchResult
impl Debug for WorkspaceSearchResult
impl Eq for WorkspaceSearchResult
Source§impl PartialEq for WorkspaceSearchResult
impl PartialEq for WorkspaceSearchResult
impl StructuralPartialEq for WorkspaceSearchResult
Auto Trait Implementations§
impl Forget for WorkspaceSearchResult
impl Freeze for WorkspaceSearchResult
impl Move for WorkspaceSearchResult
impl RefUnwindSafe for WorkspaceSearchResult
impl Send for WorkspaceSearchResultwhere
RawVecInner: Send,
impl Sync for WorkspaceSearchResultwhere
RawVecInner: Sync,
impl Unpin for WorkspaceSearchResult
impl UnsafeUnpin for WorkspaceSearchResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SearchMatch>: UnsafeUnpin,
impl UnwindSafe for WorkspaceSearchResultwhere
RawVecInner: UnwindSafe,
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