pub struct IdentWraper(/* private fields */);Expand description
A newtype wrapper around an identifier that implements Parse to consume
an identifier from the input stream regardless of keyword status.
Trait Implementations§
Source§impl Clone for IdentWraper
impl Clone for IdentWraper
Source§fn clone(&self) -> IdentWraper
fn clone(&self) -> IdentWraper
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IdentWraper
impl Debug for IdentWraper
Source§impl Parse for IdentWraper
impl Parse for IdentWraper
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl !Send for IdentWraper
impl !Sync for IdentWraper
impl Freeze for IdentWraper
impl RefUnwindSafe for IdentWraper
impl Unpin for IdentWraper
impl UnsafeUnpin for IdentWraper
impl UnwindSafe for IdentWraper
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