pub struct FieldsNamed {
pub named: &'static [Field],
}Expand description
A set of named fields associated with a type or enum variant.
Fields§
§named: &'static [Field]The related set of named fields.
Trait Implementations§
Source§impl Clone for FieldsNamed
impl Clone for FieldsNamed
Source§fn clone(&self) -> FieldsNamed
fn clone(&self) -> FieldsNamed
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 Debug for FieldsNamed
impl Debug for FieldsNamed
Source§impl Hash for FieldsNamed
impl Hash for FieldsNamed
Source§impl Ord for FieldsNamed
impl Ord for FieldsNamed
Source§fn cmp(&self, other: &FieldsNamed) -> Ordering
fn cmp(&self, other: &FieldsNamed) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FieldsNamed
impl PartialEq for FieldsNamed
Source§impl PartialOrd for FieldsNamed
impl PartialOrd for FieldsNamed
impl Eq for FieldsNamed
impl StructuralPartialEq for FieldsNamed
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