Struct layered_nlp::LLSelection [−][src]
pub struct LLSelection { /* fields omitted */ }
Selections will never be empty
Implementations
impl LLSelection
[src]
impl LLSelection
[src]pub fn from_line(ll_line: Rc<LLLine>) -> Option<Self>
[src]
Returns None if the line is empty
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]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for LLSelection
impl !RefUnwindSafe for LLSelection
impl !Send for LLSelection
impl !Send for LLSelection
impl !Sync for LLSelection
impl !Sync for LLSelection
impl Unpin for LLSelection
impl Unpin for LLSelection
impl !UnwindSafe for LLSelection
impl !UnwindSafe for LLSelection