Struct truegrf::NewGRFResult
source · [−]pub struct NewGRFResult { /* private fields */ }
Implementations
Trait Implementations
sourceimpl From<NewGRFResult> for JsValue
impl From<NewGRFResult> for JsValue
sourcefn from(value: NewGRFResult) -> Self
fn from(value: NewGRFResult) -> Self
Converts to this type from the input type.
sourceimpl FromWasmAbi for NewGRFResult
impl FromWasmAbi for NewGRFResult
sourceimpl IntoWasmAbi for NewGRFResult
impl IntoWasmAbi for NewGRFResult
sourceimpl OptionFromWasmAbi for NewGRFResult
impl OptionFromWasmAbi for NewGRFResult
sourceimpl OptionIntoWasmAbi for NewGRFResult
impl OptionIntoWasmAbi for NewGRFResult
sourceimpl RefFromWasmAbi for NewGRFResult
impl RefFromWasmAbi for NewGRFResult
type Anchor = Ref<'static, NewGRFResult>
type Anchor = Ref<'static, NewGRFResult>
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 NewGRFResult
impl RefMutFromWasmAbi for NewGRFResult
type Anchor = RefMut<'static, NewGRFResult>
type Anchor = RefMut<'static, NewGRFResult>
Same as RefFromWasmAbi::Anchor
sourceunsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as RefFromWasmAbi::ref_from_abi
sourceimpl WasmDescribe for NewGRFResult
impl WasmDescribe for NewGRFResult
Auto Trait Implementations
impl RefUnwindSafe for NewGRFResult
impl Send for NewGRFResult
impl Sync for NewGRFResult
impl Unpin for NewGRFResult
impl UnwindSafe for NewGRFResult
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> 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