Enum solang_parser::pt::FunctionTy
source · pub enum FunctionTy {
Constructor,
Function,
Fallback,
Receive,
Modifier,
}
Variants§
Trait Implementations§
source§impl Clone for FunctionTy
impl Clone for FunctionTy
source§fn clone(&self) -> FunctionTy
fn clone(&self) -> FunctionTy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FunctionTy
impl Debug for FunctionTy
source§impl Display for FunctionTy
impl Display for FunctionTy
source§impl PartialEq<FunctionTy> for FunctionTy
impl PartialEq<FunctionTy> for FunctionTy
source§fn eq(&self, other: &FunctionTy) -> bool
fn eq(&self, other: &FunctionTy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.