Docs.rs
as_variant-1.3.0
as_variant 1.3.0
Permalink
Docs.rs crate page
MPL-2.0
Links
Repository
crates.io
Source
Owners
jplatte
Dependencies
Versions
100%
of the crate is documented
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
Crate as_variant
as_
variant
1.3.0
All Items
Crate Items
Macros
Crate
as_
variant
Copy item path
Source
Expand description
Provides a simple macro to convert enums with newtype variants to
Option
s.
Macros
ยง
as_
variant
Convert the given enum value to
Option
.