Struct clarity_repl::clarity::vm::types::FixedFunction
source · pub struct FixedFunction {
pub args: Vec<FunctionArg>,
pub returns: TypeSignature,
}Fields§
§args: Vec<FunctionArg>§returns: TypeSignatureImplementations§
source§impl FixedFunction
impl FixedFunction
pub fn total_type_size(&self) -> Result<u64, CheckErrors>
Trait Implementations§
source§impl Clone for FixedFunction
impl Clone for FixedFunction
source§fn clone(&self) -> FixedFunction
fn clone(&self) -> FixedFunction
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 FixedFunction
impl Debug for FixedFunction
source§impl<'de> Deserialize<'de> for FixedFunction
impl<'de> Deserialize<'de> for FixedFunction
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<FixedFunction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<FixedFunction, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<FixedFunction> for FunctionSignature
impl From<FixedFunction> for FunctionSignature
source§fn from(data: FixedFunction) -> FunctionSignature
fn from(data: FixedFunction) -> FunctionSignature
Converts to this type from the input type.
source§impl PartialEq for FixedFunction
impl PartialEq for FixedFunction
source§fn eq(&self, other: &FixedFunction) -> bool
fn eq(&self, other: &FixedFunction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FixedFunction
impl Serialize for FixedFunction
source§fn 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 FixedFunction
impl StructuralEq for FixedFunction
impl StructuralPartialEq for FixedFunction
Auto Trait Implementations§
impl RefUnwindSafe for FixedFunction
impl Send for FixedFunction
impl Sync for FixedFunction
impl Unpin for FixedFunction
impl UnwindSafe for FixedFunction
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<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.