Struct clvm_utils::CurriedProgram
source · pub struct CurriedProgram<P, A> {
pub program: P,
pub args: A,
}
Fields§
§program: P
§args: A
Trait Implementations§
source§impl<P: Clone, A: Clone> Clone for CurriedProgram<P, A>
impl<P: Clone, A: Clone> Clone for CurriedProgram<P, A>
source§fn clone(&self) -> CurriedProgram<P, A>
fn clone(&self) -> CurriedProgram<P, A>
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<N, P, A> FromClvm<N> for CurriedProgram<P, A>
impl<N, P, A> FromClvm<N> for CurriedProgram<P, A>
fn from_clvm( decoder: &impl ClvmDecoder<Node = N>, node: N ) -> Result<Self, FromClvmError>
source§impl<N, P, A> ToClvm<N> for CurriedProgram<P, A>
impl<N, P, A> ToClvm<N> for CurriedProgram<P, A>
fn to_clvm( &self, encoder: &mut impl ClvmEncoder<Node = N> ) -> Result<N, ToClvmError>
Auto Trait Implementations§
impl<P, A> Freeze for CurriedProgram<P, A>
impl<P, A> RefUnwindSafe for CurriedProgram<P, A>where
P: RefUnwindSafe,
A: RefUnwindSafe,
impl<P, A> Send for CurriedProgram<P, A>
impl<P, A> Sync for CurriedProgram<P, A>
impl<P, A> Unpin for CurriedProgram<P, A>
impl<P, A> UnwindSafe for CurriedProgram<P, A>where
P: UnwindSafe,
A: 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