pub enum Fields {
    Named {
        fields: Vec<(&'static str, Field)>,
    },
    Unnamed {
        fields: Vec<Field>,
    },
    Unit,
}Variants
Named
E.g.: struct Foo { a: usize, b: String }
Unnamed
E.g.: struct Foo(usize, String);
Unit
E.g.: struct Foo;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Fields
impl Send for Fields
impl Sync for Fields
impl Unpin for Fields
impl UnwindSafe for Fields
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more