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.
If you have a single field, you can skip using a sequence and just use DeclareField directly.
Tuple Fields§
§0: FieldsTrait Implementations§
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