Docs.rs
  • screeps-game-api-0.13.0
    • screeps-game-api 0.13.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • daboross
    • shanemadden
    • Dependencies
      • arrayvec ^0.7 normal
      • enum-iterator ^1.4 normal
      • enum_dispatch ^0.3 normal
      • js-sys ^0.3 normal
      • num-derive ^0.3 normal
      • num-traits ^0.2 normal
      • serde ^1 normal
      • serde-wasm-bindgen ^0.5 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
    • 38.47% 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
logo

logo

JsCollectionFromValue

Required Methods

  • from_value

Implementations on Foreign Types

  • JsString
  • String
  • u8

Implementors

In screeps::js_collections

?
Change settings

Trait screeps::js_collections::JsCollectionFromValue

source ·
pub trait JsCollectionFromValue {
    // Required method
    fn from_value(val: JsValue) -> Self;
}

Required Methods§

source

fn from_value(val: JsValue) -> Self

Implementations on Foreign Types§

source§

impl JsCollectionFromValue for JsString

source§

fn from_value(val: JsValue) -> JsString

source§

impl JsCollectionFromValue for String

source§

fn from_value(val: JsValue) -> String

source§

impl JsCollectionFromValue for u8

source§

fn from_value(val: JsValue) -> u8

Implementors§

source§

impl JsCollectionFromValue for PowerType

source§

impl JsCollectionFromValue for StructureObject

source§

impl JsCollectionFromValue for MyOrder

source§

impl JsCollectionFromValue for RoomName

source§

impl JsCollectionFromValue for AccountPowerCreep

source§

impl JsCollectionFromValue for PowerInfo

source§

impl JsCollectionFromValue for ConstructionSite

source§

impl JsCollectionFromValue for Creep

source§

impl JsCollectionFromValue for Flag

source§

impl JsCollectionFromValue for Room

source§

impl JsCollectionFromValue for StructureSpawn