Enum devise::MetaItem [−][src]
pub enum MetaItem {
Path(Path),
Tokens(TokenStream),
KeyValue {
path: Path,
eq: Eq,
tokens: TokenStream,
},
List {
path: Path,
paren: Paren,
items: Punctuated<MetaItem, Comma>,
},
}Variants
Path(Path)Tokens(TokenStream)Show fields
Fields of KeyValue
Show fields
Fields of List
Implementations
pub fn parse_value_with<P>(
&self,
parser: P,
expected: &str
) -> Result<<P as Parser>::Output, Diagnostic> where
P: Parser, [src]Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MetaItemimpl UnwindSafe for MetaItemBlanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more