pub struct SearchSubmatch {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl SearchSubmatch
impl SearchSubmatch
Sourcepub async fn end(&self) -> Result<isize, DaggerError>
pub async fn end(&self) -> Result<isize, DaggerError>
The match’s end offset within the matched lines.
Sourcepub async fn id(&self) -> Result<SearchSubmatchId, DaggerError>
pub async fn id(&self) -> Result<SearchSubmatchId, DaggerError>
A unique identifier for this SearchSubmatch.
Sourcepub async fn start(&self) -> Result<isize, DaggerError>
pub async fn start(&self) -> Result<isize, DaggerError>
The match’s start offset within the matched lines.
Sourcepub async fn text(&self) -> Result<String, DaggerError>
pub async fn text(&self) -> Result<String, DaggerError>
The matched text.
Trait Implementations§
Source§impl Clone for SearchSubmatch
impl Clone for SearchSubmatch
Source§fn clone(&self) -> SearchSubmatch
fn clone(&self) -> SearchSubmatch
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 IntoID<SearchSubmatchId> for SearchSubmatch
impl IntoID<SearchSubmatchId> for SearchSubmatch
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<SearchSubmatchId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for SearchSubmatch
impl !RefUnwindSafe for SearchSubmatch
impl Send for SearchSubmatch
impl Sync for SearchSubmatch
impl Unpin for SearchSubmatch
impl UnsafeUnpin for SearchSubmatch
impl !UnwindSafe for SearchSubmatch
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