[][src]Enum fastobo::ast::Ident

pub enum Ident {
    Prefixed(PrefixedIdent),
    Unprefixed(UnprefixedIdent),
    Url(Url),
}

An identifier, either prefixed, unprefixed, or a valid URL.

Variants

Prefixed(PrefixedIdent)
Unprefixed(UnprefixedIdent)
Url(Url)

Trait Implementations

impl AsMut<Ident> for ClassIdent[src]

impl AsMut<Ident> for InstanceIdent[src]

impl AsMut<Ident> for NamespaceIdent[src]

impl AsMut<Ident> for RelationIdent[src]

impl AsMut<Ident> for SubsetIdent[src]

impl AsMut<Ident> for SynonymTypeIdent[src]

impl AsRef<Ident> for Ident[src]

impl AsRef<Ident> for ClassIdent[src]

impl AsRef<Ident> for InstanceIdent[src]

impl AsRef<Ident> for NamespaceIdent[src]

impl AsRef<Ident> for RelationIdent[src]

impl AsRef<Ident> for SubsetIdent[src]

impl AsRef<Ident> for SynonymTypeIdent[src]

impl Clone for Ident[src]

impl Debug for Ident[src]

impl Display for Ident[src]

impl Eq for Ident[src]

impl From<ClassIdent> for Ident[src]

impl From<Ident> for Import[src]

impl From<Ident> for ClassIdent[src]

impl From<Ident> for InstanceIdent[src]

impl From<Ident> for NamespaceIdent[src]

impl From<Ident> for RelationIdent[src]

impl From<Ident> for SubsetIdent[src]

impl From<Ident> for SynonymTypeIdent[src]

impl From<InstanceIdent> for Ident[src]

impl From<NamespaceIdent> for Ident[src]

impl From<PrefixedIdent> for Ident[src]

impl From<RelationIdent> for Ident[src]

impl From<SubsetIdent> for Ident[src]

impl From<SynonymTypeIdent> for Ident[src]

impl From<UnprefixedIdent> for Ident[src]

impl From<Url> for Ident[src]

impl<'i> FromPair<'i> for Ident[src]

impl FromStr for Ident[src]

type Err = SyntaxError

The associated error which can be returned from parsing.

impl Hash for Ident[src]

impl Ord for Ident[src]

impl PartialEq<Ident> for Ident[src]

impl PartialOrd<Ident> for Ident[src]

impl<'a> Share<'a, Id<'a>> for Ident[src]

impl StructuralEq for Ident[src]

impl StructuralPartialEq for Ident[src]

Auto Trait Implementations

impl RefUnwindSafe for Ident

impl Send for Ident

impl Sync for Ident

impl Unpin for Ident

impl UnwindSafe for Ident

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.