pub struct RecordField {
pub name: String,
pub ty: Ty,
}Expand description
One field of a record; the type may reference Ty::Param.
Fields§
§name: String§ty: TyTrait Implementations§
Source§impl Clone for RecordField
impl Clone for RecordField
Auto Trait Implementations§
impl Freeze for RecordField
impl RefUnwindSafe for RecordField
impl Send for RecordField
impl Sync for RecordField
impl Unpin for RecordField
impl UnsafeUnpin for RecordField
impl UnwindSafe for RecordField
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