Struct golem_wasm_ast::component::ComponentFuncType
source · pub struct ComponentFuncType {
pub params: Vec<(String, ComponentValType)>,
pub result: ComponentFuncResult,
}
Fields§
§params: Vec<(String, ComponentValType)>
§result: ComponentFuncResult
Trait Implementations§
source§impl Clone for ComponentFuncType
impl Clone for ComponentFuncType
source§fn clone(&self) -> ComponentFuncType
fn clone(&self) -> ComponentFuncType
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 ComponentFuncType
impl Debug for ComponentFuncType
source§impl PartialEq for ComponentFuncType
impl PartialEq for ComponentFuncType
source§fn eq(&self, other: &ComponentFuncType) -> bool
fn eq(&self, other: &ComponentFuncType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<ComponentFuncType<'a>> for ComponentFuncType
impl<'a> TryFrom<ComponentFuncType<'a>> for ComponentFuncType
impl Eq for ComponentFuncType
impl StructuralPartialEq for ComponentFuncType
Auto Trait Implementations§
impl Freeze for ComponentFuncType
impl RefUnwindSafe for ComponentFuncType
impl Send for ComponentFuncType
impl Sync for ComponentFuncType
impl Unpin for ComponentFuncType
impl UnwindSafe for ComponentFuncType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.