Docs.rs
mimicry-derive-0.1.0
mimicry-derive 0.1.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
slowli
Dependencies
darling ^0.14.1
normal
proc-macro2 ^1.0
normal
quote ^1.0
normal
syn ^1.0
normal
version-sync ^0.9.4
dev
Versions
100%
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 mimicry_derive
mimicry_
derive
0.1.0
All Items
Crate Items
Attribute Macros
Derive Macros
Crate
mimicry_
derive
Copy item path
Source
Expand description
Procedural macros for
mimicry
.
See
mimicry
docs for examples of usage.
Attribute Macros
§
mock
Injects mocking logic into a function / method.
Derive Macros
§
Call
Real
Derives the
CallReal
trait for a struct allowing to switch to real implementations for partial mocking or spying.
Mock
Derives the
Mock
trait for a type, allowing to use it as a state for mocking.