pub struct Field {
pub id: FieldId,
pub ty: &'static Type,
}
Expand description
Field of type
Single structure for fields of tuple-like types and fields of structures
Fields§
§id: FieldId
Identifier of field inside related type
Acts as path in filesystem
ty: &'static Type
Associated info of field’s type
Trait Implementations§
impl Eq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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