pub struct TupleBody<'input> {
pub name: Loc<Cow<'input, str>>,
pub members: Vec<TypeMember<'input>>,
}
Expand description
The body of a tuple
ⓘ
tuple <name> {
<members>
}
Fields§
§name: Loc<Cow<'input, str>>
§members: Vec<TypeMember<'input>>
Implementations§
Trait Implementations§
impl<'input> Eq for TupleBody<'input>
impl<'input> StructuralPartialEq for TupleBody<'input>
Auto Trait Implementations§
impl<'input> Freeze for TupleBody<'input>
impl<'input> RefUnwindSafe for TupleBody<'input>
impl<'input> Send for TupleBody<'input>
impl<'input> Sync for TupleBody<'input>
impl<'input> Unpin for TupleBody<'input>
impl<'input> UnwindSafe for TupleBody<'input>
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