[][src]Enum fastobo::ast::InstanceClause

pub enum InstanceClause {
    IsAnonymous(bool),
    Name(UnquotedString),
    Namespace(NamespaceIdent),
    AltId(Ident),
    Def(QuotedStringXrefList),
    Comment(UnquotedString),
    Subset(SubsetIdent),
    Synonym(Synonym),
    Xref(Xref),
    PropertyValue(PropertyValue),
    InstanceOf(ClassIdent),
    Relationship(RelationIdentIdent),
    CreatedBy(UnquotedString),
    CreationDate(IsoDateTime),
    IsObsolete(bool),
    ReplacedBy(InstanceIdent),
    Consider(Ident),
}

A clause appearing in an instance frame.

Variants

IsAnonymous(bool)
Namespace(NamespaceIdent)
AltId(Ident)
Subset(SubsetIdent)
Synonym(Synonym)
Xref(Xref)
PropertyValue(PropertyValue)
InstanceOf(ClassIdent)
Relationship(RelationIdentIdent)
CreatedBy(UnquotedString)
CreationDate(IsoDateTime)
IsObsolete(bool)
ReplacedBy(InstanceIdent)
Consider(Ident)

Trait Implementations

impl Clone for InstanceClause[src]

impl Debug for InstanceClause[src]

impl Display for InstanceClause[src]

impl Eq for InstanceClause[src]

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

impl FromStr for InstanceClause[src]

type Err = SyntaxError

The associated error which can be returned from parsing.

impl Hash for InstanceClause[src]

impl OboClause for InstanceClause[src]

impl Ord for InstanceClause[src]

impl PartialEq<InstanceClause> for InstanceClause[src]

impl PartialOrd<InstanceClause> for InstanceClause[src]

impl StructuralEq for InstanceClause[src]

impl StructuralPartialEq for InstanceClause[src]

Auto Trait Implementations

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.