Struct sway_types::Function
source · [−]pub struct Function {
pub type_field: String,
pub inputs: Vec<Property>,
pub name: String,
pub outputs: Vec<Property>,
}
Fields
type_field: String
inputs: Vec<Property>
name: String
outputs: Vec<Property>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Function
impl<'de> Deserialize<'de> for Function
sourcefn 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
sourceimpl PartialEq<Function> for Function
impl PartialEq<Function> for Function
impl StructuralPartialEq for Function
Auto Trait Implementations
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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