[−][src]Enum folia::types::ElementType
This represents the type of a FoLiA element.
Variants
Methods
impl ElementType
[src]
pub fn annotationtype(&self) -> Option<AnnotationType>
[src]
impl ElementType
[src]
pub fn is_in_group(&self, group: ElementGroup) -> bool
[src]
pub fn as_str(&self) -> &'static str
[src]
Trait Implementations
impl Eq for ElementType
[src]
impl<'_> Into<&'_ str> for ElementType
[src]
impl Into<ElementType> for AnnotationType
[src]
fn into(self) -> ElementType
[src]
impl Clone for ElementType
[src]
fn clone(&self) -> ElementType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialOrd<ElementType> for ElementType
[src]
fn partial_cmp(&self, other: &ElementType) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<ElementType> for ElementType
[src]
fn eq(&self, other: &ElementType) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Copy for ElementType
[src]
impl Hash for ElementType
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Display for ElementType
[src]
impl Debug for ElementType
[src]
impl FromStr for ElementType
[src]
type Err = FoliaError
The associated error which can be returned from parsing.
fn from_str(tag: &str) -> Result<Self, Self::Err>
[src]
impl IntoEnumIterator for ElementType
[src]
type Iterator = ElementTypeIter
ⓘImportant traits for ElementTypeIterfn iter() -> ElementTypeIter
[src]
ⓘImportant traits for ElementTypeIter
Auto Trait Implementations
impl Send for ElementType
impl Unpin for ElementType
impl Sync for ElementType
impl RefUnwindSafe for ElementType
impl UnwindSafe for ElementType
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for 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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,