pub struct JsLeaf {
    pub inner: JsLeafInner,
}Fields§
§inner: JsLeafInnerImplementations§
Source§impl JsLeaf
 
impl JsLeaf
pub fn mixer_leaf(&self) -> Result<Leaf, OperationError>
pub fn vanchor_leaf(&self) -> Result<JsUtxo, OperationError>
Source§impl JsLeaf
 
impl JsLeaf
pub fn protocol(&self) -> Protocol
pub fn commitment(&self) -> Uint8Array
Trait Implementations§
Source§impl FromWasmAbi for JsLeaf
 
impl FromWasmAbi for JsLeaf
Source§impl IntoWasmAbi for JsLeaf
 
impl IntoWasmAbi for JsLeaf
Source§impl LongRefFromWasmAbi for JsLeaf
 
impl LongRefFromWasmAbi for JsLeaf
Source§impl OptionFromWasmAbi for JsLeaf
 
impl OptionFromWasmAbi for JsLeaf
Source§impl OptionIntoWasmAbi for JsLeaf
 
impl OptionIntoWasmAbi for JsLeaf
Source§impl RefFromWasmAbi for JsLeaf
 
impl RefFromWasmAbi for JsLeaf
Source§impl RefMutFromWasmAbi for JsLeaf
 
impl RefMutFromWasmAbi for JsLeaf
Source§impl TryFromJsValue for JsLeaf
 
impl TryFromJsValue for JsLeaf
Source§impl VectorFromWasmAbi for JsLeaf
 
impl VectorFromWasmAbi for JsLeaf
Source§impl VectorIntoWasmAbi for JsLeaf
 
impl VectorIntoWasmAbi for JsLeaf
impl SupportsConstructor for JsLeaf
impl SupportsInstanceProperty for JsLeaf
impl SupportsStaticProperty for JsLeaf
Auto Trait Implementations§
impl Freeze for JsLeaf
impl RefUnwindSafe for JsLeaf
impl Send for JsLeaf
impl Sync for JsLeaf
impl Unpin for JsLeaf
impl UnwindSafe for JsLeaf
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> 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> 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.