pub struct Production {
pub parts: (Part, Vec<Part>),
}
Expand description
Production ::= Part+
Fields§
§parts: (Part, Vec<Part>)
non-empty: (first, rest)
Implementations§
Trait Implementations§
Source§impl Debug for Production
impl Debug for Production
Source§impl Parse for Production
impl Parse for Production
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for Production
impl RefUnwindSafe for Production
impl !Send for Production
impl !Sync for Production
impl Unpin for Production
impl UnwindSafe for Production
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