Enum entity::EntTypeData[][src]

pub enum EntTypeData {
    Concrete {
        ty: &'static str,
    },
    Wrapper {
        ty: &'static str,
        wrapped_tys: HashSet<&'static str>,
    },
}

Represents data about an ent type

Variants

Concrete

Indicates an ent is a concrete type with the given static str being unique to its type

Show fields

Fields of Concrete

ty: &'static str
Wrapper

Indicates an ent is a wrapper around other ent types with the given static slice of static strs representing the types it wraps

Show fields

Fields of Wrapper

ty: &'static strwrapped_tys: HashSet<&'static str>

Trait Implementations

impl Clone for EntTypeData[src]

impl Debug for EntTypeData[src]

impl Eq for EntTypeData[src]

impl PartialEq<EntTypeData> for EntTypeData[src]

impl StructuralEq for EntTypeData[src]

impl StructuralPartialEq for EntTypeData[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> DynClone for T where
    T: Clone
[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.