pub struct FieldsNamed {
pub brace_token: Brace,
pub named: Punctuated<Field, Comma>,
}Expand description
Named fields of a struct or struct variant such as Point { x: f64, y: f64 }.
Fields§
§brace_token: Brace§named: Punctuated<Field, Comma>Trait Implementations§
Source§impl From<FieldsNamed> for Fields
impl From<FieldsNamed> for Fields
Source§fn from(e: FieldsNamed) -> Fields
fn from(e: FieldsNamed) -> Fields
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FieldsNamed
impl RefUnwindSafe for FieldsNamed
impl !Send for FieldsNamed
impl !Sync for FieldsNamed
impl Unpin for FieldsNamed
impl UnwindSafe for FieldsNamed
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