Struct serde_derive_internals::ast::Field
source · [−]pub struct Field<'a> {
pub member: Member,
pub attrs: Field,
pub ty: &'a Type,
pub original: &'a Field,
}
Expand description
A field of a struct.
Fields
member: Member
attrs: Field
ty: &'a Type
original: &'a Field
Auto Trait Implementations
impl<'a> RefUnwindSafe for Field<'a>
impl<'a> !Send for Field<'a>
impl<'a> !Sync for Field<'a>
impl<'a> Unpin for Field<'a>
impl<'a> UnwindSafe for Field<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more