pub struct BitcoinEnv {
pub tx: Transaction,
}Expand description
Environment for Bitcoin Simplicity
Fields§
§tx: TransactionImplementations§
Source§impl BitcoinEnv
impl BitcoinEnv
pub fn new(tx: Transaction) -> Self
Trait Implementations§
Source§impl Default for BitcoinEnv
impl Default for BitcoinEnv
Source§impl JetEnvironment for BitcoinEnv
impl JetEnvironment for BitcoinEnv
Source§type CJetEnvironment = ()
type CJetEnvironment = ()
CJetEnvironment to interact with C FFI.
Source§fn c_jet_env(&self) -> &Self::CJetEnvironment
fn c_jet_env(&self) -> &Self::CJetEnvironment
Obtains a C FFI compatible environment for the jet.
Source§fn c_jet_ptr(
jet: &Self::Jet,
) -> fn(&mut CFrameItem, CFrameItem, &Self::CJetEnvironment) -> bool
fn c_jet_ptr( jet: &Self::Jet, ) -> fn(&mut CFrameItem, CFrameItem, &Self::CJetEnvironment) -> bool
Obtain the FFI C pointer for the jet.
Auto Trait Implementations§
impl Freeze for BitcoinEnv
impl RefUnwindSafe for BitcoinEnv
impl Send for BitcoinEnv
impl Sync for BitcoinEnv
impl Unpin for BitcoinEnv
impl UnsafeUnpin for BitcoinEnv
impl UnwindSafe for BitcoinEnv
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