Enum leo_asg::const_value::ConstValue [−][src]
pub enum ConstValue<'a> { Int(ConstInt), Group(GroupValue), Field(BigInt), Address(StrTendril), Boolean(bool), Char(CharValue), Tuple(Vec<ConstValue<'a>>), Array(Vec<ConstValue<'a>>), Circuit(&'a Circuit<'a>, IndexMap<String, (Identifier, ConstValue<'a>)>), }
Variants
Tuple Fields of Int
0: ConstInt
Tuple Fields of Group
0: GroupValue
Tuple Fields of Field
0: BigInt
Tuple Fields of Address
0: StrTendril
Tuple Fields of Boolean
0: bool
Tuple Fields of Char
0: CharValue
Tuple Fields of Tuple
0: Vec<ConstValue<'a>>
Tuple Fields of Array
0: Vec<ConstValue<'a>>
Tuple Fields of Circuit
0: &'a Circuit<'a>
1: IndexMap<String, (Identifier, ConstValue<'a>)>
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ConstValue<'a>
impl<'a> !Send for ConstValue<'a>
impl<'a> !Sync for ConstValue<'a>
impl<'a> Unpin for ConstValue<'a>
impl<'a> !UnwindSafe for ConstValue<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more