pub struct ExoSubstrate { /* private fields */ }Expand description
Main EXO substrate interface for browser deployment
Implementations§
Source§impl ExoSubstrate
impl ExoSubstrate
Sourcepub fn dimensions(&self) -> usize
pub fn dimensions(&self) -> usize
Get substrate dimensions
Trait Implementations§
Source§impl From<ExoSubstrate> for JsValue
impl From<ExoSubstrate> for JsValue
Source§fn from(value: ExoSubstrate) -> Self
fn from(value: ExoSubstrate) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ExoSubstrate
impl FromWasmAbi for ExoSubstrate
Source§impl IntoWasmAbi for ExoSubstrate
impl IntoWasmAbi for ExoSubstrate
Source§impl LongRefFromWasmAbi for ExoSubstrate
impl LongRefFromWasmAbi for ExoSubstrate
Source§impl OptionFromWasmAbi for ExoSubstrate
impl OptionFromWasmAbi for ExoSubstrate
Source§impl OptionIntoWasmAbi for ExoSubstrate
impl OptionIntoWasmAbi for ExoSubstrate
Source§impl RefFromWasmAbi for ExoSubstrate
impl RefFromWasmAbi for ExoSubstrate
Source§type Anchor = RcRef<ExoSubstrate>
type Anchor = RcRef<ExoSubstrate>
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 ExoSubstrate
impl RefMutFromWasmAbi for ExoSubstrate
Source§impl TryFromJsValue for ExoSubstrate
impl TryFromJsValue for ExoSubstrate
Source§impl VectorFromWasmAbi for ExoSubstrate
impl VectorFromWasmAbi for ExoSubstrate
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[ExoSubstrate]>
Source§impl VectorIntoWasmAbi for ExoSubstrate
impl VectorIntoWasmAbi for ExoSubstrate
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ExoSubstrate]>) -> Self::Abi
Source§impl WasmDescribeVector for ExoSubstrate
impl WasmDescribeVector for ExoSubstrate
impl SupportsConstructor for ExoSubstrate
impl SupportsInstanceProperty for ExoSubstrate
impl SupportsStaticProperty for ExoSubstrate
Auto Trait Implementations§
impl Freeze for ExoSubstrate
impl !RefUnwindSafe for ExoSubstrate
impl Send for ExoSubstrate
impl Sync for ExoSubstrate
impl Unpin for ExoSubstrate
impl !UnwindSafe for ExoSubstrate
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.