pub enum NamedParse<'p> {
Equals,
Paren(ParseBuffer<'p>),
Flag,
}
Expand description
The type of a named meta field.
Variants§
Equals
The field was specified with an equals, .e.g my_arg = 123
.
Paren(ParseBuffer<'p>)
The field was specified with surrounding parenthesis, .e.g my_arg(123)
.
Flag
The field was specified as a flag without a value, .e.g my_arg
.
Trait Implementations§
Auto Trait Implementations§
impl<'p> !Freeze for NamedParse<'p>
impl<'p> RefUnwindSafe for NamedParse<'p>
impl<'p> !Send for NamedParse<'p>
impl<'p> !Sync for NamedParse<'p>
impl<'p> Unpin for NamedParse<'p>
impl<'p> UnwindSafe for NamedParse<'p>
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