Initial commit

This commit is contained in:
Michael Pfaff 2021-05-08 18:31:31 -04:00
commit edcbbf2671
Signed by: michael
GPG Key ID: E53B118B12B5C7F9
4 changed files with 19 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/target
Cargo.lock

8
Cargo.toml Normal file
View File

@ -0,0 +1,8 @@
[package]
name = "static_into"
version = "1.0.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

4
README.md Normal file
View File

@ -0,0 +1,4 @@
# static_into.rs
A struct-to-value conversion.

5
src/lib.rs Normal file
View File

@ -0,0 +1,5 @@
/// A struct-to-value conversion.
pub trait StaticInto<T> {
fn static_into() -> T;
}