Docs.rs
  • sap-shared-1.0.1
    • sap-shared 1.0.1
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • Shuppin
    • Dependencies
      • serde ^1.0.195 normal
      • wasm-bindgen ^0.2 normal
    • Versions
    • 50% 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
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate shared

shared1.0.1

  • All Items

Sections

  • Shared module

Crate Items

  • Modules
  • Macros

Crates

  • shared

Crate shared

Source
Expand description

§Shared module

The shared module contains code that is shared between the different parts of the SAP interpreter. This includes the error data structures, the span module, and the output module.

Modules§

error
This module contains the error handling code for the interpreter. It provides the Error struct, which is used to represent errors that occur during execution.
output
span
Contains the Span struct, which represents a span of characters in the source code.

Macros§

err
A macro to create a new error with a kind and a message.
stdout
Identical to the print! macro.
stdoutln
Identical to the println! macro.

Results

Settings
Help
    trait
    shared::span::GetSpan
    Trait for getting the span of a node. For enums, this is …
    trait method
    shared::span::GetSpan::span
    &GetSpan -> &Span
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.