Docs.rs
roto-0.10.0
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
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
roto 0.10.0
a statically-typed, compiled, embedded scripting language
Crate
Source
Builds
Feature flags
Documentation
Hide files
..
modules
addr_range.roto
addr_range.rs
context.roto
context.rs
hello_world.roto
hello_world.rs
list.roto
list.rs
modules.rs
optional.roto
optional.rs
presentation.roto
presentation.rs
runtime.roto
runtime.rs
simple.roto
simple.rs
string_interpolation.roto
string_interpolation.rs
1
2
3
4
5
6
7
filtermap main(v: Vec2) { if v.x() > 10 { accept 2 * v.x() } else { reject } }