pub struct TupleField {
pub id: FieldId,
pub ty: TypeId,
}Expand description
One unnamed field of a tuple.
Fields§
§id: FieldIdThis field’s id.
ty: TypeIdThe type of this field.
Trait Implementations§
Source§impl Clone for TupleField
impl Clone for TupleField
Source§fn clone(&self) -> TupleField
fn clone(&self) -> TupleField
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 TupleField
impl Debug for TupleField
impl Eq for TupleField
Source§impl PartialEq for TupleField
impl PartialEq for TupleField
impl StructuralPartialEq for TupleField
Auto Trait Implementations§
impl Freeze for TupleField
impl RefUnwindSafe for TupleField
impl Send for TupleField
impl Sync for TupleField
impl Unpin for TupleField
impl UnsafeUnpin for TupleField
impl UnwindSafe for TupleField
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