Struct clarity_repl::clarity::types::signatures::TupleTypeSignature [−][src]
Implementations
impl TupleTypeSignature
[src]
pub fn len(&self) -> u64
[src]
pub fn field_type(&self, field: &str) -> Option<&TypeSignature>
[src]
pub fn get_type_map(&self) -> &BTreeMap<ClarityName, TypeSignature>
[src]
pub fn admits(&self, other: &TupleTypeSignature) -> bool
[src]
pub fn parse_name_type_pair_list<A: CostTracker>(
type_def: &SymbolicExpression,
accounting: &mut A
) -> Result<TupleTypeSignature, CheckErrors>
[src]
type_def: &SymbolicExpression,
accounting: &mut A
) -> Result<TupleTypeSignature, CheckErrors>
pub fn shallow_merge(&mut self, update: &mut TupleTypeSignature)
[src]
impl TupleTypeSignature
[src]
pub fn type_size(&self) -> Option<u32>
[src]
Tuple Size: size( btreemap<name, type> ) = 2*map.len() + sum(names) + sum(values)
pub fn size(&self) -> u32
[src]
Trait Implementations
impl Clone for TupleTypeSignature
[src]
fn clone(&self) -> TupleTypeSignature
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TupleTypeSignature
[src]
impl<'de> Deserialize<'de> for TupleTypeSignature
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for TupleTypeSignature
[src]
impl Eq for TupleTypeSignature
[src]
impl From<TupleTypeSignature> for TypeSignature
[src]
fn from(data: TupleTypeSignature) -> Self
[src]
impl PartialEq<TupleTypeSignature> for TupleTypeSignature
[src]
fn eq(&self, other: &TupleTypeSignature) -> bool
[src]
fn ne(&self, other: &TupleTypeSignature) -> bool
[src]
impl Serialize for TupleTypeSignature
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for TupleTypeSignature
[src]
impl StructuralPartialEq for TupleTypeSignature
[src]
impl TryFrom<BTreeMap<ClarityName, TypeSignature>> for TupleTypeSignature
[src]
type Error = CheckErrors
The type returned in the event of a conversion error.
fn try_from(
type_map: BTreeMap<ClarityName, TypeSignature>
) -> Result<TupleTypeSignature, CheckErrors>
[src]
type_map: BTreeMap<ClarityName, TypeSignature>
) -> Result<TupleTypeSignature, CheckErrors>
impl TryFrom<Vec<(ClarityName, TypeSignature), Global>> for TupleTypeSignature
[src]
type Error = CheckErrors
The type returned in the event of a conversion error.
fn try_from(
type_data: Vec<(ClarityName, TypeSignature)>
) -> Result<TupleTypeSignature, CheckErrors>
[src]
type_data: Vec<(ClarityName, TypeSignature)>
) -> Result<TupleTypeSignature, CheckErrors>
Auto Trait Implementations
impl RefUnwindSafe for TupleTypeSignature
impl Send for TupleTypeSignature
impl Sync for TupleTypeSignature
impl Unpin for TupleTypeSignature
impl UnwindSafe for TupleTypeSignature
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,