Enum clarity_repl::clarity::functions::define::DefineFunctionsParsed [−][src]
Variants
Fields of Constant
name: &'a ClarityName
value: &'a SymbolicExpression
Fields of PrivateFunction
signature: &'a [SymbolicExpression]
body: &'a SymbolicExpression
Fields of ReadOnlyFunction
signature: &'a [SymbolicExpression]
body: &'a SymbolicExpression
Fields of PublicFunction
signature: &'a [SymbolicExpression]
body: &'a SymbolicExpression
Fields of NonFungibleToken
name: &'a ClarityName
nft_type: &'a SymbolicExpression
Fields of BoundedFungibleToken
name: &'a ClarityName
max_supply: &'a SymbolicExpression
Fields of UnboundedFungibleToken
name: &'a ClarityName
Fields of Map
Fields of PersistedVariable
Fields of Trait
name: &'a ClarityName
functions: &'a [SymbolicExpression]
Fields of UseTrait
name: &'a ClarityName
trait_identifier: &'a TraitIdentifier
Fields of ImplTrait
trait_identifier: &'a TraitIdentifier
Implementations
impl<'a> DefineFunctionsParsed<'a>
[src]
pub fn try_parse(
expression: &'a SymbolicExpression
) -> Result<Option<DefineFunctionsParsed<'a>>, CheckErrors>
[src]
expression: &'a SymbolicExpression
) -> Result<Option<DefineFunctionsParsed<'a>>, CheckErrors>
Try to parse a Top-Level Expression (e.g., (define-private (foo) 1)) as a define-statement, returns None if the supplied expression is not a define.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DefineFunctionsParsed<'a>
impl<'a> Send for DefineFunctionsParsed<'a>
impl<'a> Sync for DefineFunctionsParsed<'a>
impl<'a> Unpin for DefineFunctionsParsed<'a>
impl<'a> UnwindSafe for DefineFunctionsParsed<'a>
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> 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, 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>,