Enum leo_ast::types::type_::Type [−][src]
pub enum Type { Address, Boolean, Char, Field, Group, IntegerType(IntegerType), Array(Box<Type>, ArrayDimensions), Tuple(Vec<Type>), Circuit(Identifier), SelfType, }
Expand description
Explicit type used for defining a variable or expression type
Variants
Tuple Fields of IntegerType
0: IntegerType
Tuple Fields of Array
0: Box<Type>
1: ArrayDimensions
Tuple Fields of Circuit
0: Identifier
Implementations
Returns true
if the self Type
is a Circuit
.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
input pest ast -> Explicit Type
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more