Enum solang_parser::pt::Type [−][src]
pub enum Type {
Address,
AddressPayable,
Payable,
Bool,
String,
Int(u16),
Uint(u16),
Bytes(u8),
Rational,
DynamicBytes,
Mapping(Loc, Box<Expression>, Box<Expression>),
Function {
params: Vec<(Loc, Option<Parameter>)>,
attributes: Vec<FunctionAttribute>,
returns: Vec<(Loc, Option<Parameter>)>,
trailing_attributes: Vec<FunctionAttribute>,
},
}Variants
Address
AddressPayable
Payable
Bool
String
Int(u16)
Tuple Fields
0: u16Uint(u16)
Tuple Fields
0: u16Bytes(u8)
Tuple Fields
0: u8Rational
DynamicBytes
Mapping(Loc, Box<Expression>, Box<Expression>)
Function
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more
