pub enum PseudoScript<T1> {
NativeScript(T1),
PlutusV1Script(PlutusScript<1>),
PlutusV2Script(PlutusScript<2>),
PlutusV3Script(PlutusScript<3>),
}Variants§
NativeScript(T1)
PlutusV1Script(PlutusScript<1>)
PlutusV2Script(PlutusScript<2>)
PlutusV3Script(PlutusScript<3>)
Trait Implementations§
Source§impl<T1> Clone for PseudoScript<T1>where
T1: Clone,
impl<T1> Clone for PseudoScript<T1>where
T1: Clone,
Source§fn clone(&self) -> PseudoScript<T1>
fn clone(&self) -> PseudoScript<T1>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T1> Debug for PseudoScript<T1>where
T1: Debug,
impl<T1> Debug for PseudoScript<T1>where
T1: Debug,
Source§impl<'b, C, T> Decode<'b, C> for PseudoScript<T>
impl<'b, C, T> Decode<'b, C> for PseudoScript<T>
Source§impl<C, T> Encode<C> for PseudoScript<T>where
T: Encode<C>,
impl<C, T> Encode<C> for PseudoScript<T>where
T: Encode<C>,
impl<T1> Eq for PseudoScript<T1>where
T1: Eq,
Source§impl<'b> From<PseudoScript<KeepRaw<'b, NativeScript>>> for PseudoScript<NativeScript>
impl<'b> From<PseudoScript<KeepRaw<'b, NativeScript>>> for PseudoScript<NativeScript>
Source§fn from(
value: PseudoScript<KeepRaw<'b, NativeScript>>,
) -> PseudoScript<NativeScript>
fn from( value: PseudoScript<KeepRaw<'b, NativeScript>>, ) -> PseudoScript<NativeScript>
Converts to this type from the input type.
Source§impl<'b> From<PseudoScript<KeepRaw<'b, NativeScript>>> for PseudoScript<KeepRaw<'b, NativeScript>>
impl<'b> From<PseudoScript<KeepRaw<'b, NativeScript>>> for PseudoScript<KeepRaw<'b, NativeScript>>
Source§fn from(
value: PseudoScript<KeepRaw<'b, NativeScript>>,
) -> PseudoScript<KeepRaw<'b, NativeScript>>
fn from( value: PseudoScript<KeepRaw<'b, NativeScript>>, ) -> PseudoScript<KeepRaw<'b, NativeScript>>
Converts to this type from the input type.
Source§impl<T1> PartialEq for PseudoScript<T1>where
T1: PartialEq,
impl<T1> PartialEq for PseudoScript<T1>where
T1: PartialEq,
Source§fn eq(&self, other: &PseudoScript<T1>) -> bool
fn eq(&self, other: &PseudoScript<T1>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T1> StructuralPartialEq for PseudoScript<T1>where
T1: PartialEq,
Auto Trait Implementations§
impl<T1> Freeze for PseudoScript<T1>where
T1: Freeze,
impl<T1> RefUnwindSafe for PseudoScript<T1>where
T1: RefUnwindSafe,
impl<T1> Send for PseudoScript<T1>where
T1: Send,
impl<T1> Sync for PseudoScript<T1>where
T1: Sync,
impl<T1> Unpin for PseudoScript<T1>where
T1: Unpin,
impl<T1> UnsafeUnpin for PseudoScript<T1>where
T1: UnsafeUnpin,
impl<T1> UnwindSafe for PseudoScript<T1>where
T1: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Fragment for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more