pub struct NamedField { /* private fields */ }Expand description
A named field that is part of a structure.
Trait Implementations§
Source§impl Clone for NamedField
impl Clone for NamedField
Source§fn clone(&self) -> NamedField
fn clone(&self) -> NamedField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NamedField
impl Debug for NamedField
impl Eq for NamedField
Source§impl Hash for NamedField
impl Hash for NamedField
Source§impl PartialEq for NamedField
impl PartialEq for NamedField
Source§fn eq(&self, other: &NamedField) -> bool
fn eq(&self, other: &NamedField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NamedField
Auto Trait Implementations§
impl !Send for NamedField
impl !Sync for NamedField
impl Freeze for NamedField
impl RefUnwindSafe for NamedField
impl Unpin for NamedField
impl UnsafeUnpin for NamedField
impl UnwindSafe for NamedField
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