Docs.rs
fluid_attributes-0.4.0
fluid_attributes 0.4.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
Boiethios
Dependencies
proc-macro2 ^0.4
normal
quote ^0.6
normal
syn ^0.15
normal
uuid ^0.7
normal
Versions
80%
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
fluid_
attributes
0.4.0
All Items
Crate Items
Attribute Macros
Derive Macros
Crate
fluid_attributes
Copy item path
Source
Attribute Macros
§
fact
The
fact
attribute. A fact is a simple concrete fact to be verified.
session
A test session with a setup. Must decorate an inherent implementation of a data structure that implements
Default
.
theory
The
theory
attribute. A theory is a test more complex than a fact, that must be proven or inferred with multiple cases. Therefore, a theory must come with its multiple test
case
s.
Derive Macros
§
Drop
Implement the
Drop
trait for the assertion type. This is needed, because in most cases, the assertion will be checked from within the destructor.