pub struct StructFields<Fields>(pub Fields);Expand description
Named struct fields. This will place every field on a new line with a comma afterward. It is recommended that the sequence should pass DeclareField or FillOutField depending upon whether the struct is being
If you have a single field, you can skip using a sequence and just use DeclareField or FillOutField directly.
Tuple Fields§
§0: FieldsTrait Implementations§
Source§impl<Fields: Clone> Clone for StructFields<Fields>
impl<Fields: Clone> Clone for StructFields<Fields>
Source§fn clone(&self) -> StructFields<Fields>
fn clone(&self) -> StructFields<Fields>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Fields: Debug> Debug for StructFields<Fields>
impl<Fields: Debug> Debug for StructFields<Fields>
Auto Trait Implementations§
impl<Fields> Freeze for StructFields<Fields>where
Fields: Freeze,
impl<Fields> RefUnwindSafe for StructFields<Fields>where
Fields: RefUnwindSafe,
impl<Fields> Send for StructFields<Fields>where
Fields: Send,
impl<Fields> Sync for StructFields<Fields>where
Fields: Sync,
impl<Fields> Unpin for StructFields<Fields>where
Fields: Unpin,
impl<Fields> UnwindSafe for StructFields<Fields>where
Fields: UnwindSafe,
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