Docs.rs
anyrun-macros-0.1.0
anyrun-macros 0.1.0
Permalink
Docs.rs crate page
GPL-3.0
Links
Homepage
Repository
crates.io
Source
Owners
Kirottu
Dependencies
quote ^1.0.26
normal
syn ^2.0.15
normal
Versions
66.67%
of the crate is documented
Platform
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
anyrun_
macros
0.1.0
All Items
Crate Items
Attribute Macros
Crate
anyrun_macros
Copy item path
Source
Attribute Macros
ยง
config_
args
get_
matches
Function that takes the current text input as an
RString
as the first argument, and the second argument can be one of:
handler
The function to handle the selection of an item. Takes a
Match
as its first argument, and the second argument can be one of:
info
Function that returns the plugin info as a
PluginInfo
object. Takes no arguments.
init
Function that takes an
RString
as the only argument, which points to the anyrun config directory. Returns the data the plugin operates on. This data is accessible as both a normal borrow and a mutable borrow to
get_matches
and
handler
.