Struct wasm_utils::note::JsLeaf
source · [−]pub struct JsLeaf {
pub inner: JsLeafInner,
}Fields
inner: JsLeafInnerImplementations
sourceimpl JsLeaf
impl JsLeaf
pub fn protocol(&self) -> Protocol
pub fn commitment(&self) -> Uint8Array
Trait Implementations
sourceimpl FromWasmAbi for JsLeaf
impl FromWasmAbi for JsLeaf
sourceimpl IntoWasmAbi for JsLeaf
impl IntoWasmAbi for JsLeaf
sourceimpl OptionFromWasmAbi for JsLeaf
impl OptionFromWasmAbi for JsLeaf
sourceimpl OptionIntoWasmAbi for JsLeaf
impl OptionIntoWasmAbi for JsLeaf
sourceimpl RefFromWasmAbi for JsLeaf
impl RefFromWasmAbi for JsLeaf
type Anchor = Ref<'static, JsLeaf>
type Anchor = Ref<'static, JsLeaf>
The type that holds the reference to Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read more
sourceunsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
Recover a Self::Anchor from Self::Abi. Read more
sourceimpl RefMutFromWasmAbi for JsLeaf
impl RefMutFromWasmAbi for JsLeaf
Auto Trait Implementations
impl RefUnwindSafe for JsLeaf
impl Send for JsLeaf
impl Sync for JsLeaf
impl Unpin for JsLeaf
impl UnwindSafe for JsLeaf
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn 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. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more