pub enum EntTypeData {
Concrete {
ty: &'static str,
},
Wrapper {
ty: &'static str,
wrapped_tys: HashSet<&'static str>,
},
}Expand description
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
Wrapper
Indicates an ent is a wrapper around other ent types with the given static slice of static strs representing the types it wraps
Trait Implementations§
Source§impl Clone for EntTypeData
impl Clone for EntTypeData
Source§fn clone(&self) -> EntTypeData
fn clone(&self) -> EntTypeData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntTypeData
impl Debug for EntTypeData
Source§impl PartialEq for EntTypeData
impl PartialEq for EntTypeData
impl Eq for EntTypeData
impl StructuralPartialEq for EntTypeData
Auto Trait Implementations§
impl Freeze for EntTypeData
impl RefUnwindSafe for EntTypeData
impl Send for EntTypeData
impl Sync for EntTypeData
impl Unpin for EntTypeData
impl UnwindSafe for EntTypeData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more