pub enum StructFieldKind {
Named {
attributes: Vec<Attribute>,
},
Embedded,
}Variants§
Trait Implementations§
Source§impl Clone for StructFieldKind
impl Clone for StructFieldKind
Source§fn clone(&self) -> StructFieldKind
fn clone(&self) -> StructFieldKind
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 StructFieldKind
impl Debug for StructFieldKind
Source§impl PartialEq for StructFieldKind
impl PartialEq for StructFieldKind
impl StructuralPartialEq for StructFieldKind
Auto Trait Implementations§
impl Freeze for StructFieldKind
impl RefUnwindSafe for StructFieldKind
impl Send for StructFieldKind
impl Sync for StructFieldKind
impl Unpin for StructFieldKind
impl UnsafeUnpin for StructFieldKind
impl UnwindSafe for StructFieldKind
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