mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-23 05:07:27 +00:00
25 lines
421 B
Rust
25 lines
421 B
Rust
#[salsa::input(return_ref)]
|
|
struct InputWithRetRef(u32);
|
|
|
|
#[salsa::input(specify)]
|
|
struct InputWithSpecify(u32);
|
|
|
|
#[salsa::input(no_eq)]
|
|
struct InputNoWithEq(u32);
|
|
|
|
#[salsa::input(db = Db)]
|
|
struct InputWithDb(u32);
|
|
|
|
#[salsa::input(recover_fn = recover)]
|
|
struct InputWithRecover(u32);
|
|
|
|
#[salsa::input(lru =12)]
|
|
struct InputWithLru(u32);
|
|
|
|
#[salsa::input]
|
|
struct InputWithIdField {
|
|
#[id]
|
|
field: u32,
|
|
}
|
|
|
|
fn main() {}
|