Struct layered_nlp::LLSelection [−][src]
pub struct LLSelection { /* fields omitted */ }
Selections will never be empty
Implementations
impl LLSelection
[src]
impl LLSelection
[src]pub fn split_by<'a, M: XMatch<'a>>(&'a self, matcher: &M) -> Vec<LLSelection>
[src]
pub fn find_by<'a, M: XMatch<'a>>(
&'a self,
matcher: &M
) -> Vec<(LLSelection, M::Out)>
[src]
&'a self,
matcher: &M
) -> Vec<(LLSelection, M::Out)>
pub fn find_first_by<'a, M: XMatch<'a>>(
&'a self,
matcher: &M
) -> Option<(LLSelection, M::Out)>
[src]
&'a self,
matcher: &M
) -> Option<(LLSelection, M::Out)>
pub fn find_by_forwards_and_backwards<'a, M: XMatch<'a>>(
&'a self,
matcher: &M
) -> Vec<(LLSelection, M::Out)>
[src]
&'a self,
matcher: &M
) -> Vec<(LLSelection, M::Out)>
pub fn match_forwards<'a, M: XMatch<'a>>(
&'a self,
matcher: &M
) -> Vec<(LLSelection, M::Out)>
[src]
&'a self,
matcher: &M
) -> Vec<(LLSelection, M::Out)>
pub fn match_first_forwards<'a, M: XMatch<'a>>(
&'a self,
matcher: &M
) -> Option<(LLSelection, M::Out)>
[src]
&'a self,
matcher: &M
) -> Option<(LLSelection, M::Out)>
pub fn match_forwards_longest<'a, M: XMatch<'a>>(
&'a self,
_matcher: &M
) -> Option<(LLSelection, M::Out)>
[src]
&'a self,
_matcher: &M
) -> Option<(LLSelection, M::Out)>
pub fn match_forwards_shortest<'a, M: XMatch<'a>>(
&'a self,
_matcher: &M
) -> Option<(LLSelection, M::Out)>
[src]
&'a self,
_matcher: &M
) -> Option<(LLSelection, M::Out)>
pub fn match_backwards<'a, M: XMatch<'a>>(
&'a self,
matcher: &M
) -> Vec<(LLSelection, M::Out)>
[src]
&'a self,
matcher: &M
) -> Vec<(LLSelection, M::Out)>
pub fn match_first_backwards<'a, M: XMatch<'a>>(
&'a self,
matcher: &M
) -> Option<(LLSelection, M::Out)>
[src]
&'a self,
matcher: &M
) -> Option<(LLSelection, M::Out)>
pub fn after(&self) -> Option<LLSelection>
[src]
pub fn split_with(
&self,
other_selection: &LLSelection
) -> [Option<LLSelection>; 2]
[src]
&self,
other_selection: &LLSelection
) -> [Option<LLSelection>; 2]
pub fn trim_start<'a, M: XMatch<'a>>(
&'a self,
matcher: &M
) -> Option<LLSelection>
[src]
&'a self,
matcher: &M
) -> Option<LLSelection>
pub fn trim_end<'a, M: XMatch<'a>>(&'a self, matcher: &M) -> Option<LLSelection>
[src]
pub fn trim<'a, M: XMatch<'a>>(&'a self, matcher: &M) -> Option<LLSelection>
[src]
pub fn finish_with_attr<Attr>(&self, value: Attr) -> LLCursorAssignment<Attr>
[src]
Trait Implementations
impl Clone for LLSelection
[src]
impl Clone for LLSelection
[src]fn clone(&self) -> LLSelection
[src]
fn clone(&self) -> LLSelection
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for LLSelection
[src]
impl Debug for LLSelection
[src]Auto Trait Implementations
impl !RefUnwindSafe for LLSelection
impl !Send for LLSelection
impl !Sync for LLSelection
impl Unpin for LLSelection
impl !UnwindSafe for LLSelection
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
#41263)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more