Docs.rs
  • screeps-game-api-0.3.0
    • screeps-game-api 0.3.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • daboross
    • shanemadden
    • Dependencies
      • enum_primitive ^0.1 normal
      • log ^0.4 normal
      • num-traits ^0.2 normal
      • scoped-tls ^0.1 normal
      • serde ^1 normal
      • serde_derive ^1 normal
      • serde_json ^1 normal
      • stdweb ^0.4 normal
      • stdweb-derive ^0.5 normal
    • Versions
    • 27.66% 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

HasId

Provided Methods

  • id

Implementors

In screeps::objects

?
Change settings

Trait screeps::objects::HasId

source ·
pub unsafe trait HasId: RoomObjectProperties {
    fn id(&self) -> String { ... }
}
Expand description

Trait covering all objects with an id.

Provided Methods

source

fn id(&self) -> String

Implementors

source

impl HasId for Structure

source

impl HasId for ConstructionSite

source

impl HasId for Creep

source

impl HasId for Mineral

source

impl HasId for Nuke

source

impl HasId for OwnedStructure

source

impl HasId for Resource

source

impl HasId for Source

source

impl HasId for StructureContainer

source

impl HasId for StructureController

source

impl HasId for StructureExtension

source

impl HasId for StructureExtractor

source

impl HasId for StructureKeeperLair

source

impl HasId for StructureLab

source

impl HasId for StructureLink

source

impl HasId for StructureNuker

source

impl HasId for StructureObserver

source

impl HasId for StructurePortal

source

impl HasId for StructurePowerBank

source

impl HasId for StructurePowerSpawn

source

impl HasId for StructureRampart

source

impl HasId for StructureRoad

source

impl HasId for StructureSpawn

source

impl HasId for StructureStorage

source

impl HasId for StructureTerminal

source

impl HasId for StructureTower

source

impl HasId for StructureWall

source

impl HasId for Tombstone