pub enum ParenKind {
Round,
Square,
}
Expand description
A kind of parentheses. Used in Error::MissingClosingParen
and Error::ExtraClosingParen
to indicate the kind of parentheses that caused the error.
Variants§
Trait Implementations§
impl Eq for ParenKind
impl StructuralPartialEq for ParenKind
Auto Trait Implementations§
impl Freeze for ParenKind
impl RefUnwindSafe for ParenKind
impl Send for ParenKind
impl Sync for ParenKind
impl Unpin for ParenKind
impl UnwindSafe for ParenKind
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