Docs.rs
  • nightrunner_lib-0.3.1
    • nightrunner_lib 0.3.1
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • aimerib
    • Dependencies
      • console_error_panic_hook ^0.1.7 normal
      • getrandom ^0.2.12 normal
      • rand ^0.8.5 normal
      • regex ^1 normal
      • serde ^1.0 normal
      • serde-wasm-bindgen ^0.6.5 normal
      • serde_json ^1.0 normal
      • serde_yaml ^0.9.33 normal
      • wasm-bindgen ^0.2.92 normal
      • pretty_assertions ^1.4.0 dev
      • wasm-bindgen-test ^0.3.42 dev
      • cursive ^0.20.0 dev
      • cursive-aligned-view ^0.6.0 dev
    • Versions
    • 100% of the crate is documented
  • 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

nightrunner_lib0.3.1

Crate Items

  • Structs
  • Enums
  • Functions
  • Type Aliases

List of all items

Structs

  • NightRunner
  • NightRunnerBuilder
  • config::Config
  • config::Event
  • config::Item
  • config::Narrative
  • config::Player
  • config::State
  • config::Storage
  • config::Subject
  • config::Verb
  • parser::action::Action
  • parser::errors::CantPick
  • parser::errors::EmptyInput
  • parser::errors::InvalidAction
  • parser::errors::InvalidDirection
  • parser::errors::InvalidEvent
  • parser::errors::InvalidItem
  • parser::errors::InvalidMovement
  • parser::errors::InvalidNarrative
  • parser::errors::InvalidRoom
  • parser::errors::InvalidSubject
  • parser::errors::InvalidVerb
  • parser::errors::InvalidVerbItem
  • parser::errors::InvalidVerbItemSubject
  • parser::errors::InvalidVerbSubject
  • parser::errors::ItemNotFound
  • parser::errors::NoItem
  • parser::errors::NoRoom
  • parser::errors::ParsingRoomText
  • parser::errors::RequiredEventNotCompleted
  • parser::interpreter::EventMessage
  • util::MoveSuccess

Enums

  • JsMessage
  • ParsingResult
  • config::VerbFunction
  • parser::action::ActionType
  • parser::interpreter::MessageParts

Functions

  • parser::parse
  • util::display_help
  • util::move_to_direction
  • util::parse_room_text
  • util::player_get_item
  • util::player_receive_item
  • util::player_remove_item
  • util::test_helpers::export_json_data
  • util::test_helpers::mock_config
  • util::test_helpers::mock_json_data
  • util::test_helpers::mock_state

Type Aliases

  • NRResult