fieldx 0.2.3

Procedural macro for constructing structs with lazily initialized fields, builder pattern, and serde support with a focus on declarative syntax.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub use crate::error::FieldXError;
use std::fmt::Debug;

/// Marks struct as implementing `fieldx` functionality.
pub trait FXStruct {}

#[doc(hidden)]
pub trait FXBuilderWrapper {
    type Owner: FXStruct;
    type Value;
    type Error: Debug;
}