Struct marine::MarineFunctionSignature
source · [−]pub struct MarineFunctionSignature {
pub name: Rc<String>,
pub arguments: Rc<Vec<FunctionArg, Global>>,
pub outputs: Rc<Vec<IType, Global>>,
}
Expand description
Represent a function type inside Marine module.
Fields
name: Rc<String>
arguments: Rc<Vec<FunctionArg, Global>>
outputs: Rc<Vec<IType, Global>>
Trait Implementations
sourceimpl Clone for MFunctionSignature
impl Clone for MFunctionSignature
sourcefn clone(&self) -> MFunctionSignature
fn clone(&self) -> MFunctionSignature
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MFunctionSignature
impl Debug for MFunctionSignature
sourceimpl<'de> Deserialize<'de> for MFunctionSignature
impl<'de> Deserialize<'de> for MFunctionSignature
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<MFunctionSignature, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MFunctionSignature, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for MFunctionSignature
impl Hash for MFunctionSignature
sourceimpl PartialEq<MFunctionSignature> for MFunctionSignature
impl PartialEq<MFunctionSignature> for MFunctionSignature
sourcefn eq(&self, other: &MFunctionSignature) -> bool
fn eq(&self, other: &MFunctionSignature) -> bool
sourceimpl Serialize for MFunctionSignature
impl Serialize for MFunctionSignature
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for MFunctionSignature
impl StructuralEq for MFunctionSignature
impl StructuralPartialEq for MFunctionSignature
Auto Trait Implementations
impl RefUnwindSafe for MFunctionSignature
impl !Send for MFunctionSignature
impl !Sync for MFunctionSignature
impl Unpin for MFunctionSignature
impl UnwindSafe for MFunctionSignature
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.