pub struct ExamplePerson {
pub name: String,
pub age: u32,
pub parents: Vec<ExamplePerson>,
}Expand description
An example type using #[staged_builder].
Fields§
§name: String§age: u32§parents: Vec<ExamplePerson>Implementations§
Auto Trait Implementations§
impl Freeze for ExamplePerson
impl RefUnwindSafe for ExamplePerson
impl Send for ExamplePerson
impl Sync for ExamplePerson
impl Unpin for ExamplePerson
impl UnsafeUnpin for ExamplePerson
impl UnwindSafe for ExamplePerson
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more