Struct puffin::algebra::dynamic_function::DynamicFunctionShape
source · pub struct DynamicFunctionShape<PT: ProtocolTypes> {
pub name: &'static str,
pub argument_types: Vec<TypeShape<PT>>,
pub return_type: TypeShape<PT>,
}
Expand description
Describes the shape of a DynamicFunction
Fields§
§name: &'static str
§argument_types: Vec<TypeShape<PT>>
§return_type: TypeShape<PT>
Implementations§
source§impl<PT: ProtocolTypes> DynamicFunctionShape<PT>
impl<PT: ProtocolTypes> DynamicFunctionShape<PT>
Trait Implementations§
source§impl<PT: Clone + ProtocolTypes> Clone for DynamicFunctionShape<PT>
impl<PT: Clone + ProtocolTypes> Clone for DynamicFunctionShape<PT>
source§fn clone(&self) -> DynamicFunctionShape<PT>
fn clone(&self) -> DynamicFunctionShape<PT>
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<PT: Debug + ProtocolTypes> Debug for DynamicFunctionShape<PT>
impl<PT: Debug + ProtocolTypes> Debug for DynamicFunctionShape<PT>
source§impl<PT> Deserialize<'static> for DynamicFunctionShape<PT>where
PT: ProtocolTypes,
impl<PT> Deserialize<'static> for DynamicFunctionShape<PT>where
PT: ProtocolTypes,
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<PT: ProtocolTypes> Display for DynamicFunctionShape<PT>
impl<PT: ProtocolTypes> Display for DynamicFunctionShape<PT>
source§impl<PT: ProtocolTypes> Hash for DynamicFunctionShape<PT>
impl<PT: ProtocolTypes> Hash for DynamicFunctionShape<PT>
source§impl<PT: ProtocolTypes> PartialEq for DynamicFunctionShape<PT>
impl<PT: ProtocolTypes> PartialEq for DynamicFunctionShape<PT>
source§impl<PT> Serialize for DynamicFunctionShape<PT>where
PT: ProtocolTypes,
impl<PT> Serialize for DynamicFunctionShape<PT>where
PT: ProtocolTypes,
impl<PT: ProtocolTypes> Eq for DynamicFunctionShape<PT>
Auto Trait Implementations§
impl<PT> Freeze for DynamicFunctionShape<PT>
impl<PT> RefUnwindSafe for DynamicFunctionShape<PT>where
PT: RefUnwindSafe,
impl<PT> Send for DynamicFunctionShape<PT>where
PT: Send,
impl<PT> Sync for DynamicFunctionShape<PT>where
PT: Sync,
impl<PT> Unpin for DynamicFunctionShape<PT>where
PT: Unpin,
impl<PT> UnwindSafe for DynamicFunctionShape<PT>where
PT: UnwindSafe,
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<T> CloneAny for T
impl<T> CloneAny for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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
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.§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.