pub struct Foo {
pub foo: Ident,
}
Expand description
Foo
Fields§
§foo: Ident
Foo
Trait Implementations§
Source§impl EasyPeek for Foo
impl EasyPeek for Foo
Source§fn peek(lookahead1: &Lookahead1<'_>) -> bool
fn peek(lookahead1: &Lookahead1<'_>) -> bool
Peek head token before parsing.
Source§fn peek_stream(stream: ParseStream<'_>) -> bool
fn peek_stream(stream: ParseStream<'_>) -> bool
Peek head token before parsing.
Auto Trait Implementations§
impl Freeze for Foo
impl RefUnwindSafe for Foo
impl !Send for Foo
impl !Sync for Foo
impl Unpin for Foo
impl UnwindSafe for Foo
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