Enum graphannis::model::AnnotationComponentType [−][src]
Specifies the type of component of the annotation graph. The types of this enum carray certain semantics about the edges of the graph components their are used in.
Variants
Edges between a span node and its tokens. Implies text coverage.
Edges between a structural node and any other structural node, span or token. Implies text coverage.
Edge between any node.
Edge between two tokens implying that the source node comes before the target node in the textflow.
Explicit edge between any non-token node and the left-most token it covers.
Explicit edge between any non-token node and the right-most token it covers.
Implies that the source node belongs to the parent corpus/subcorpus/document/datasource node.
Trait Implementations
impl Clone for AnnotationComponentType
[src]
fn clone(&self) -> AnnotationComponentType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ComponentType for AnnotationComponentType
[src]
type UpdateGraphIndex = AQLUpdateGraphIndex
fn all_component_types() -> Vec<Self>ⓘ
[src]
fn default_components() -> Vec<AnnotationComponent>ⓘ
[src]
fn init_update_graph_index(
graph: &AnnotationGraph
) -> Result<Self::UpdateGraphIndex, ComponentTypeError>
[src]
graph: &AnnotationGraph
) -> Result<Self::UpdateGraphIndex, ComponentTypeError>
fn before_update_event(
update: &UpdateEvent,
graph: &AnnotationGraph,
index: &mut Self::UpdateGraphIndex
) -> Result<(), ComponentTypeError>
[src]
update: &UpdateEvent,
graph: &AnnotationGraph,
index: &mut Self::UpdateGraphIndex
) -> Result<(), ComponentTypeError>
fn after_update_event(
update: UpdateEvent,
graph: &AnnotationGraph,
index: &mut Self::UpdateGraphIndex
) -> Result<(), ComponentTypeError>
[src]
update: UpdateEvent,
graph: &AnnotationGraph,
index: &mut Self::UpdateGraphIndex
) -> Result<(), ComponentTypeError>
fn apply_update_graph_index(
index: Self::UpdateGraphIndex,
graph: &mut AnnotationGraph
) -> Result<(), ComponentTypeError>
[src]
index: Self::UpdateGraphIndex,
graph: &mut AnnotationGraph
) -> Result<(), ComponentTypeError>
fn update_graph_index_components(_graph: &Graph<Self>) -> Vec<Component<Self>>ⓘ
[src]
impl Debug for AnnotationComponentType
[src]
impl<'de> Deserialize<'de> for AnnotationComponentType
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for AnnotationComponentType
[src]
impl Eq for AnnotationComponentType
[src]
impl From<u16> for AnnotationComponentType
[src]
fn from(idx: u16) -> AnnotationComponentType
[src]
impl FromStr for AnnotationComponentType
[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<AnnotationComponentType, Self::Err>
[src]
impl Hash for AnnotationComponentType
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<u16> for AnnotationComponentType
[src]
impl IntoEnumIterator for AnnotationComponentType
[src]
impl MallocSizeOf for AnnotationComponentType
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[src]
impl Ord for AnnotationComponentType
[src]
fn cmp(&self, other: &AnnotationComponentType) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<AnnotationComponentType> for AnnotationComponentType
[src]
fn eq(&self, other: &AnnotationComponentType) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<AnnotationComponentType> for AnnotationComponentType
[src]
fn partial_cmp(&self, other: &AnnotationComponentType) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for AnnotationComponentType
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for AnnotationComponentType
[src]
impl StructuralPartialEq for AnnotationComponentType
[src]
Auto Trait Implementations
impl RefUnwindSafe for AnnotationComponentType
impl Send for AnnotationComponentType
impl Sync for AnnotationComponentType
impl Unpin for AnnotationComponentType
impl UnwindSafe for AnnotationComponentType
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,