https://github.com/limpix31/typology
Type derivation for foreign use
https://github.com/limpix31/typology
crate rust rust-lang
Last synced: 5 months ago
JSON representation
Type derivation for foreign use
- Host: GitHub
- URL: https://github.com/limpix31/typology
- Owner: LIMPIX31
- Created: 2024-05-13T15:22:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-13T15:30:42.000Z (about 2 years ago)
- Last Synced: 2025-10-27T09:27:20.570Z (9 months ago)
- Topics: crate, rust, rust-lang
- Language: Rust
- Homepage: https://crates.io/crates/typology
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Typology
###### Type derivation for foreign use
```rust
use typology::{Typology, type_of};
#[derive(Debug, Typology)]
struct User {
username: String,
age: u8,
other: Box<[String]>
}
// Will be String
type UsernameField = type_of!(User::username);
```