Enum solang_parser::pt::Type
source · [−]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: Option<(ParameterList, Vec<FunctionAttribute>)>,
},
}
Variants
Address
AddressPayable
Payable
Bool
String
Int(u16)
Uint(u16)
Bytes(u8)
Rational
DynamicBytes
Mapping(Loc, Box<Expression>, Box<Expression>)
Function
Trait Implementations
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more