pub enum BabbageScriptKind {
Native,
PlutusV1,
PlutusV2,
}Variants§
Trait Implementations§
Source§impl From<BabbageScriptKind> for JsValue
impl From<BabbageScriptKind> for JsValue
Source§fn from(value: BabbageScriptKind) -> Self
fn from(value: BabbageScriptKind) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for BabbageScriptKind
impl FromWasmAbi for BabbageScriptKind
Source§impl IntoWasmAbi for BabbageScriptKind
impl IntoWasmAbi for BabbageScriptKind
Source§impl TryFromJsValue for BabbageScriptKind
impl TryFromJsValue for BabbageScriptKind
Source§impl VectorFromWasmAbi for BabbageScriptKind
impl VectorFromWasmAbi for BabbageScriptKind
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[BabbageScriptKind]>
Source§impl VectorIntoWasmAbi for BabbageScriptKind
impl VectorIntoWasmAbi for BabbageScriptKind
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[BabbageScriptKind]>) -> Self::Abi
Source§impl WasmDescribeVector for BabbageScriptKind
impl WasmDescribeVector for BabbageScriptKind
Auto Trait Implementations§
impl Freeze for BabbageScriptKind
impl RefUnwindSafe for BabbageScriptKind
impl Send for BabbageScriptKind
impl Sync for BabbageScriptKind
impl Unpin for BabbageScriptKind
impl UnsafeUnpin for BabbageScriptKind
impl UnwindSafe for BabbageScriptKind
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> 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 moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.