pub enum Seating {
One(Fragment),
Many(Fragment),
Attributes,
}Expand description
How one seat is matched, and how an expansion writes it back.
Three shapes, because three is what a matcher can express about one metavariable: one of something, any number of them, or any number of attributes written over the item.
Variants§
One(Fragment)
One fragment of the declared kind.
Many(Fragment)
Any number of fragments of the declared kind, separated by commas.
Attributes
Any number of attributes, each written over the stamped item.
Trait Implementations§
impl Copy for Seating
impl Eq for Seating
impl StructuralPartialEq for Seating
Auto Trait Implementations§
impl Freeze for Seating
impl RefUnwindSafe for Seating
impl Send for Seating
impl Sync for Seating
impl Unpin for Seating
impl UnsafeUnpin for Seating
impl UnwindSafe for Seating
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