Docs.rs
wasmfmt-0.2.4
wasmfmt 0.2.4
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
philipahlberg
Dependencies
structopt ^0.3
normal
wast ^46.0
normal
assert_matches ^1.5
dev
criterion ^0.3
dev
pretty_assertions ^1.2
dev
unindent ^0.1
dev
Versions
40%
of the crate is documented
Platform
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
Skip to main content
Crate wasmfmt
wasmfmt
0.2.4
All Items
Crate Items
Structs
Enums
Traits
Functions
Crate
wasmfmt
Copy item path
Source
Structs
§
Diff
Created from two different strings. Presents the difference when formatted.
Formatter
A formatter used to format individual AST nodes.
Options
Enums
§
Error
Traits
§
Fmt
The
Fmt
trait allows individual WebAssembly AST nodes to be formatted separately.
Functions
§
fmt
Format
.wat
source code. Uses tabs for indentation. Resolves symbolic identifiers and unfolds instruction expressions. Extracts inline exports and type definitions. Encodes all number literals in decimal notation.