pub struct RuchyCompiler { /* private fields */ }Expand description
WebAssembly compiler interface for Ruchy
Implementations§
Trait Implementations§
Source§impl Default for RuchyCompiler
impl Default for RuchyCompiler
Source§impl From<RuchyCompiler> for JsValue
impl From<RuchyCompiler> for JsValue
Source§fn from(value: RuchyCompiler) -> Self
fn from(value: RuchyCompiler) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for RuchyCompiler
impl FromWasmAbi for RuchyCompiler
Source§impl IntoWasmAbi for RuchyCompiler
impl IntoWasmAbi for RuchyCompiler
Source§impl LongRefFromWasmAbi for RuchyCompiler
impl LongRefFromWasmAbi for RuchyCompiler
Source§impl OptionFromWasmAbi for RuchyCompiler
impl OptionFromWasmAbi for RuchyCompiler
Source§impl OptionIntoWasmAbi for RuchyCompiler
impl OptionIntoWasmAbi for RuchyCompiler
Source§impl RefFromWasmAbi for RuchyCompiler
impl RefFromWasmAbi for RuchyCompiler
Source§type Anchor = RcRef<RuchyCompiler>
type Anchor = RcRef<RuchyCompiler>
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.Source§impl RefMutFromWasmAbi for RuchyCompiler
impl RefMutFromWasmAbi for RuchyCompiler
impl SupportsConstructor for RuchyCompiler
impl SupportsInstanceProperty for RuchyCompiler
impl SupportsStaticProperty for RuchyCompiler
Source§impl TryFromJsValue for RuchyCompiler
impl TryFromJsValue for RuchyCompiler
Source§impl VectorFromWasmAbi for RuchyCompiler
impl VectorFromWasmAbi for RuchyCompiler
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[RuchyCompiler]>
Source§impl VectorIntoWasmAbi for RuchyCompiler
impl VectorIntoWasmAbi for RuchyCompiler
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[RuchyCompiler]>) -> Self::Abi
Source§impl WasmDescribeVector for RuchyCompiler
impl WasmDescribeVector for RuchyCompiler
Auto Trait Implementations§
impl !Freeze for RuchyCompiler
impl !RefUnwindSafe for RuchyCompiler
impl !Sync for RuchyCompiler
impl Send for RuchyCompiler
impl Unpin for RuchyCompiler
impl UnsafeUnpin for RuchyCompiler
impl UnwindSafe for RuchyCompiler
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
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.