pub struct PureField {
pub attrs: Vec<PureAttribute>,
pub vis: PureVis,
pub name: String,
pub ty: PureType,
}Expand description
A struct field.
Fields§
§attrs: Vec<PureAttribute>Attributes.
vis: PureVisVisibility.
name: StringName.
ty: PureTypeType.
Trait Implementations§
impl Eq for PureField
impl StructuralPartialEq for PureField
Auto Trait Implementations§
impl Freeze for PureField
impl RefUnwindSafe for PureField
impl Send for PureField
impl Sync for PureField
impl Unpin for PureField
impl UnsafeUnpin for PureField
impl UnwindSafe for PureField
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