pub enum Remainder {
Prohibited,
Variadic(Symbol),
}Expand description
Whether unmatched arguments in a partition are rejected or collected.
Variants§
Prohibited
Reject unmatched arguments.
Variadic(Symbol)
Collect unmatched arguments under this binding name.
Trait Implementations§
impl Eq for Remainder
impl StructuralPartialEq for Remainder
Auto Trait Implementations§
impl Freeze for Remainder
impl RefUnwindSafe for Remainder
impl Send for Remainder
impl Sync for Remainder
impl Unpin for Remainder
impl UnsafeUnpin for Remainder
impl UnwindSafe for Remainder
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