pub struct PlutusScriptSource(/* private fields */);
Implementations§
source§impl PlutusScriptSource
impl PlutusScriptSource
pub fn new(script: &PlutusScript) -> Self
pub fn new_ref_input( script_hash: &ScriptHash, input: &TransactionInput, lang_ver: &Language ) -> Self
Trait Implementations§
source§impl Clone for PlutusScriptSource
impl Clone for PlutusScriptSource
source§fn clone(&self) -> PlutusScriptSource
fn clone(&self) -> PlutusScriptSource
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 Debug for PlutusScriptSource
impl Debug for PlutusScriptSource
source§impl Ord for PlutusScriptSource
impl Ord for PlutusScriptSource
source§fn cmp(&self, other: &PlutusScriptSource) -> Ordering
fn cmp(&self, other: &PlutusScriptSource) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PlutusScriptSource
impl PartialEq for PlutusScriptSource
source§fn eq(&self, other: &PlutusScriptSource) -> bool
fn eq(&self, other: &PlutusScriptSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PlutusScriptSource
impl PartialOrd for PlutusScriptSource
source§fn partial_cmp(&self, other: &PlutusScriptSource) -> Option<Ordering>
fn partial_cmp(&self, other: &PlutusScriptSource) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for PlutusScriptSource
impl StructuralPartialEq for PlutusScriptSource
Auto Trait Implementations§
impl Freeze for PlutusScriptSource
impl RefUnwindSafe for PlutusScriptSource
impl Send for PlutusScriptSource
impl Sync for PlutusScriptSource
impl Unpin for PlutusScriptSource
impl UnwindSafe for PlutusScriptSource
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