Docs.rs
beet_rsx_macros-0.0.7
beet_rsx_macros 0.0.7
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
mrchantey
Dependencies
beet_core ^0.0.7
normal
beet_parse ^0.0.7
normal
proc-macro2 ^1
normal
proc-macro2-diagnostics ^0.10
normal
quote ^1
normal
syn ^2
normal
sweet ^0.4.2
dev
Versions
88.89%
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
Crate beet_rsx_macros
beet_
rsx_
macros
0.0.7
All Items
Crate Items
Macros
Attribute Macros
Derive Macros
Crate
beet_
rsx_
macros
Copy item path
Source
Macros
§
rsx
Parse [
rsmtl
] tokens into a
Bundle
.
rsx_
combinator
used for testing, create combinator instance from a string literal
rsx_
combinator_
tokens
used for testing, create combinator tokens from a string literal
rsx_
tokens
used for testing, this macro expands to a tokens respresentation of a bundle
Attribute Macros
§
template
Mark a function as a template function. This creates a struct of the same name, passing all prop attributes to the fields.
Derive Macros
§
Attribute
Block
Types that can be used as an attribute block, where each field is applied as
Attributes
of the entity. Use [
#[field(flatten)]
] for the key to be discarded, and the value to be applied by calling
into_bundle
. This allows for a nested
AttributeBlock
.
Buildable
Allow a struct to be included as a
#[field(flatten)]
of another struct
Props
Adds a builder pattern to a struct enabling construction as an rsx component