Skip to main content

AnyValue

Type Alias AnyValue 

Source
pub type AnyValue = Value<Box<dyn Any>>;
Expand description

A sum type that can hold values of any type, including Any.

Aliased Type§

pub enum AnyValue {
    Unit,
    Bool(bool),
    I32(i32),
    U32(u32),
    I64(i64),
    U64(u64),
    Other(Box<dyn Any>),
}

Variants§

§

Unit

§

Bool(bool)

§

I32(i32)

§

U32(u32)

§

I64(i64)

§

U64(u64)

§

Other(Box<dyn Any>)