BoxedVariant

Trait BoxedVariant 

Source
pub trait BoxedVariant:
    Display
    + Debug
    + DynHash
    + DynClone
    + Datum<Value>
    + DatumLower<Value> {
    // Required methods
    fn type_tag(&self) -> BoxedVariantTypeTag;
    fn as_any(&self) -> &dyn Any;
    fn into_dyn_iter(
        self: Box<Self>,
    ) -> BoxedVariantResult<BoxedVariantValueIntoIterator>;
    fn category(&self) -> DatumCategoryRef<'_>;
    fn into_category(self: Box<Self>) -> DatumCategoryOwned;
}

Required Methods§

Trait Implementations§

Source§

impl<'hash> Hash for dyn BoxedVariant + 'hash

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
Source§

impl<'hash> Hash for dyn BoxedVariant + Send + 'hash

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
Source§

impl<'hash> Hash for dyn BoxedVariant + Send + Sync + 'hash

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
Source§

impl<'hash> Hash for dyn BoxedVariant + Sync + 'hash

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more

Implementors§