[−][src]Struct bitcoin_cash::Script
Implementations
impl Script
[src]
pub fn new(ops: impl Into<Arc<[TaggedOp]>>) -> Self
[src]
pub fn serialize(&self) -> Result<ByteArray>
[src]
impl Script
[src]
pub fn ops_arc(&self) -> &Arc<[TaggedOp]>
[src]
pub fn to_script_code(&self, n_codesep: Option<usize>) -> Script
[src]
pub fn to_script_code_first(&self) -> Script
[src]
Trait Implementations
impl Clone for Script
[src]
impl Debug for Script
[src]
impl Default for Script
[src]
impl<'de, 'a> Deserialize<'de> for Script
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Eq for Script
[src]
impl<I: InputScript> From<TaggedScript<I>> for Script
[src]
fn from(script: TaggedScript<I>) -> Self
[src]
impl<'_, '_> Into<Script> for &'_ Address<'_>
[src]
impl<'_> Into<Script> for Address<'_>
[src]
impl Ops for Script
[src]
impl PartialEq<Script> for Script
[src]
impl Serialize for Script
[src]
impl StructuralEq for Script
[src]
impl StructuralPartialEq for Script
[src]
Auto Trait Implementations
impl RefUnwindSafe for Script
impl Send for Script
impl Sync for Script
impl Unpin for Script
impl UnwindSafe for Script
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,