Struct puffin::algebra::dynamic_function::DynamicFunctionShape
source · pub struct DynamicFunctionShape {
pub name: &'static str,
pub argument_types: Vec<TypeShape>,
pub return_type: TypeShape,
}
Expand description
Describes the shape of a DynamicFunction
Fields§
§name: &'static str
§argument_types: Vec<TypeShape>
§return_type: TypeShape
Implementations§
Trait Implementations§
source§impl Clone for DynamicFunctionShape
impl Clone for DynamicFunctionShape
source§fn clone(&self) -> DynamicFunctionShape
fn clone(&self) -> DynamicFunctionShape
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 DynamicFunctionShape
impl Debug for DynamicFunctionShape
source§impl Deserialize<'static> for DynamicFunctionShape
impl Deserialize<'static> for DynamicFunctionShape
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for DynamicFunctionShape
impl Display for DynamicFunctionShape
source§impl Hash for DynamicFunctionShape
impl Hash for DynamicFunctionShape
source§impl PartialEq<DynamicFunctionShape> for DynamicFunctionShape
impl PartialEq<DynamicFunctionShape> for DynamicFunctionShape
source§impl Serialize for DynamicFunctionShape
impl Serialize for DynamicFunctionShape
impl Eq for DynamicFunctionShape
Auto Trait Implementations§
impl RefUnwindSafe for DynamicFunctionShape
impl Send for DynamicFunctionShape
impl Sync for DynamicFunctionShape
impl Unpin for DynamicFunctionShape
impl UnwindSafe for DynamicFunctionShape
Blanket Implementations§
§impl<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.