Docs.rs
druid-derive-0.5.1
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
druid-derive 0.5.1
derive impls for Druid, a Rust UI toolkit.
Crate
Source
Builds
Feature flags
Documentation
Hide files
..
lens-attributes.rs
simple-lens.rs
with-empty-struct.rs
with-empty-struct.stderr
with-enum.rs
with-enum.stderr
with-snake_case.rs
with-snake_case.stderr
with-tuple-struct.rs
with-tuple-struct.stderr
with-union.rs
with-union.stderr
use
druid
::
*
;
#
[
derive
(
Lens
)
]
union Foobar
{
foo
:
i32
,
bar
:
f64
,
}
fn
main
(
)
{
}