Initial commit
This commit is contained in:
commit
edcbbf2671
|
@ -0,0 +1,2 @@
|
|||
/target
|
||||
Cargo.lock
|
|
@ -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]
|
|
@ -0,0 +1,5 @@
|
|||
/// A struct-to-value conversion.
|
||||
pub trait StaticInto<T> {
|
||||
fn static_into() -> T;
|
||||
}
|
||||
|
Loading…
Reference in New Issue