[][src]Enum fastobo::ast::EntityFrame

pub enum EntityFrame {
    Term(TermFrame),
    Typedef(TypedefFrame),
    Instance(InstanceFrame),
}

An entity frame, either for a term, an instance, or a typedef.

Variants

Term(TermFrame)Typedef(TypedefFrame)Instance(InstanceFrame)

Trait Implementations

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

fn from_pair(pair: Pair<'i, Rule>) -> Result<Self, Error>[src]

Create a new instance from a Pair.

impl Orderable for EntityFrame[src]

impl Identified for EntityFrame[src]

impl Clone for EntityFrame[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl From<TermFrame> for EntityFrame[src]

impl From<TypedefFrame> for EntityFrame[src]

impl From<InstanceFrame> for EntityFrame[src]

impl Eq for EntityFrame[src]

impl PartialEq<EntityFrame> for EntityFrame[src]

impl Debug for EntityFrame[src]

impl Display for EntityFrame[src]

impl FromStr for EntityFrame[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for EntityFrame[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for EntityFrame

impl Sync for EntityFrame

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?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, 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.

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

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

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