Docs.rs
newtype-tools-0.1.0-beta.8
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
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
newtype-tools 0.1.0-beta.8
A lightweight library designed to make the newtype idiom more ergonomic to use.
Crate
Source
Builds
Feature flags
Documentation
Hide files
..
add.rs
add.stderr
add_assign.rs
add_assign.stderr
enum.rs
enum.stderr
from.rs
from.stderr
into.rs
into.stderr
newtype-list.rs
newtype-list.stderr
newtype-name-value.rs
newtype-name-value.stderr
newtype-nested-name-value.rs
newtype-nested-name-value.stderr
newtype-nested-path-from.rs
newtype-nested-path-from.stderr
newtype-nested-path-invalid.rs
newtype-nested-path-invalid.stderr
newtype-path.rs
newtype-path.stderr
partial_eq.rs
partial_eq.stderr
struct-named.rs
struct-named.stderr
struct-tuple.rs
struct-tuple.stderr
struct-unit.rs
struct-unit.stderr
sub.rs
sub.stderr
sub_assign.rs
sub_assign.stderr
try_from.rs
try_from.stderr
try_into.rs
try_into.stderr
union.rs
union.stderr
1
2
3
4
#
[
derive
(
newtype_tools::Newtype
)
]
struct
N
(
u64
,
u64
)
;
fn
main
(
)
{
}