Docs.rs
  • screeps-game-api-0.21.1
    • screeps-game-api 0.21.1
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • daboross
    • shanemadden
    • Dependencies
      • arrayvec ^0.7 normal
      • enum-iterator ^2.0 normal
      • enum_dispatch ^0.3 normal
      • js-sys ^0.3 normal
      • num-derive ^0.4 normal
      • num-traits ^0.2 normal
      • serde ^1 normal
      • serde-wasm-bindgen ^0.6 normal
      • serde_json ^1 normal
      • serde_repr ^0.1 normal
      • wasm-bindgen ^0.2 normal
      • bincode ^1.3 dev
      • wasm-bindgen-test ^0.3 dev
    • Versions
    • 44.4% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

screeps0.21.1

JsCollectionIntoValue

Required Methods

  • into_value

Implementations on Foreign Types

  • JsString
  • String
  • u32
  • u8

Implementors

In screeps::js_collections

Trait screeps::js_collections::JsCollectionIntoValue

source ·
pub trait JsCollectionIntoValue {
    // Required method
    fn into_value(self) -> JsValue;
}

Required Methods§

source

fn into_value(self) -> JsValue

Implementations on Foreign Types§

source§

impl JsCollectionIntoValue for u8

source§

fn into_value(self) -> JsValue

source§

impl JsCollectionIntoValue for u32

source§

fn into_value(self) -> JsValue

source§

impl JsCollectionIntoValue for String

source§

fn into_value(self) -> JsValue

source§

impl JsCollectionIntoValue for JsString

source§

fn into_value(self) -> JsValue

Implementors§

source§

impl JsCollectionIntoValue for Direction

source§

impl JsCollectionIntoValue for IntershardResourceType

source§

impl JsCollectionIntoValue for PowerType

source§

impl JsCollectionIntoValue for RoomName