[−][src]Struct folia::query::Query
The query defines a search query on a FoLiA document
with various matching criteria. It is turned into a Selector
, the encoded variant, when given a document.
Fields
action: Action
elementtype: Cmp<ElementType>
elementgroup: Cmp<ElementGroup>
contexttype: Cmp<ElementType>
set: Cmp<String>
class: Cmp<String>
processor: Cmp<String>
subset: Cmp<String>
annotator: Cmp<String>
annotatortype: Cmp<ProcessorType>
confidence: Cmp<f64>
Implementations
impl Query
[src]
pub fn element(self, value: Cmp<ElementType>) -> Self
[src]
Add a matching criterion on element type
pub fn contexttype(self, value: Cmp<ElementType>) -> Self
[src]
Add a matching criterion on element type for the context
pub fn elementgroup(self, value: Cmp<ElementGroup>) -> Self
[src]
Add a matching criterion on element group
pub fn set(self, value: Cmp<String>) -> Self
[src]
Add a matching criterion on FoLiA set
pub fn class(self, value: Cmp<String>) -> Self
[src]
Add a matching criterion on FoLiA class
pub fn processor(self, value: Cmp<String>) -> Self
[src]
Add a matching criterion on processor
pub fn annotator(self, value: Cmp<String>) -> Self
[src]
Add a matching criterion on annotator (i.e. the name of a processor)
pub fn annotatortype(self, value: Cmp<ProcessorType>) -> Self
[src]
Add a matching criterion on annotator type (i.e. the type of a processor)
pub fn subset(self, value: Cmp<String>) -> Self
[src]
Add a matching criterion on a FoLiA subset
pub fn confidence(self, value: Cmp<f64>) -> Self
[src]
Add a matching criterion on confidence value
pub fn select() -> Self
[src]
Creates an empty (all matching) select query
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,