pub struct Foo {
pub foo: Ident,
}Expand description
Foo
Fields
foo: IdentFoo
Trait Implementations
sourceimpl EasyPeek for Foo where
for<'a> EasyPeekHack<'a, Ident>: EasyPeek,
impl EasyPeek for Foo where
for<'a> EasyPeekHack<'a, Ident>: EasyPeek,
sourcefn peek(lookahead1: &Lookahead1<'_>) -> bool
fn peek(lookahead1: &Lookahead1<'_>) -> bool
Peek head token before parsing.
sourcefn peek_stream(stream: ParseStream<'_>) -> bool
fn peek_stream(stream: ParseStream<'_>) -> bool
Peek head token before parsing.
Auto Trait Implementations
impl RefUnwindSafe for Foo
impl !Send for Foo
impl !Sync for Foo
impl Unpin for Foo
impl UnwindSafe for Foo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more