Struct golem_wasm_ast::analysis::AnalysedFunction
source · pub struct AnalysedFunction {
pub name: String,
pub params: Vec<AnalysedFunctionParameter>,
pub results: Vec<AnalysedFunctionResult>,
}
Fields§
§name: String
§params: Vec<AnalysedFunctionParameter>
§results: Vec<AnalysedFunctionResult>
Implementations§
source§impl AnalysedFunction
impl AnalysedFunction
pub fn is_constructor(&self) -> bool
pub fn is_method(&self) -> bool
pub fn is_static_method(&self) -> bool
Trait Implementations§
source§impl Clone for AnalysedFunction
impl Clone for AnalysedFunction
source§fn clone(&self) -> AnalysedFunction
fn clone(&self) -> AnalysedFunction
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 AnalysedFunction
impl Debug for AnalysedFunction
source§impl PartialEq for AnalysedFunction
impl PartialEq for AnalysedFunction
source§fn eq(&self, other: &AnalysedFunction) -> bool
fn eq(&self, other: &AnalysedFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AnalysedFunction
impl StructuralPartialEq for AnalysedFunction
Auto Trait Implementations§
impl RefUnwindSafe for AnalysedFunction
impl Send for AnalysedFunction
impl Sync for AnalysedFunction
impl Unpin for AnalysedFunction
impl UnwindSafe for AnalysedFunction
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.