pub struct Exact(pub Span);Tuple Fields§
§0: SpanImplementations§
Trait Implementations§
impl Eq for Exact
Source§impl Parsable for Exact
impl Parsable for Exact
Source§fn parse(stream: &mut ParseStream) -> Result<Self>
fn parse(stream: &mut ParseStream) -> Result<Self>
Attempts to parse the specified string into a value of type
T.Source§fn parse_value(value: Self, stream: &mut ParseStream) -> Result<Self>
fn parse_value(value: Self, stream: &mut ParseStream) -> Result<Self>
Attempts to parse a specific value of type
T from the ParseStream.impl StructuralPartialEq for Exact
Auto Trait Implementations§
impl !Send for Exact
impl !Sync for Exact
impl Freeze for Exact
impl RefUnwindSafe for Exact
impl Unpin for Exact
impl UnsafeUnpin for Exact
impl UnwindSafe for Exact
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Peekable for Twhere
T: Parsable,
impl<T> Peekable for Twhere
T: Parsable,
Source§fn peek(stream: &ParseStream) -> bool
fn peek(stream: &ParseStream) -> bool
Returns a boolean indicating whether the
ParseStream can parse the specified type
at the current parsing position.Source§fn peek_value(value: T, stream: &ParseStream) -> bool
fn peek_value(value: T, stream: &ParseStream) -> bool
Returns a boolean indicating whether the
ParseStream can parse the specified value
at the current parsing position.