pub struct Foo {
pub foo: Ident,
}
Expand description
Foo
Fields
foo: Ident
Foo
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more