Crate near_syn[][src]

Provides function to deal with Rust syntax.

Modules

ts

Functions to transpile Rust to TypeScript.

Traits

NearAttributable

Any Rust item, e.g., struct or enum to which attributes can attached to.

NearImpl

Defines standard attributes found in the Near SDK.

NearMethod

Defines standard attributes and helper methods used when exporting a contract.

NearSerde

Defines methods to deal with serde’s declarations in structs or enums.

Functions

join_path

Joins segments of path by ::.

write_docs

Writes Rust doc comments to file. Each line of doc is prefixed with prefix.