pub struct StructField {
pub name: String,
pub field_type: Type,
}Expand description
Represents a struct field.
Fields§
§name: StringField name
field_type: TypeField type
Implementations§
Trait Implementations§
Source§impl Clone for StructField
impl Clone for StructField
Source§impl Debug for StructField
impl Debug for StructField
Source§impl PartialEq for StructField
impl PartialEq for StructField
impl StructuralPartialEq for StructField
Auto Trait Implementations§
impl Forget for StructField
impl Freeze for StructField
impl Move for StructField
impl RefUnwindSafe for StructField
impl Send for StructField
impl Sync for StructField
impl Unpin for StructField
impl UnsafeUnpin for StructField
impl UnwindSafe for StructField
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