pub struct ResolvedToken {
pub token_type: TokenType,
pub value: ResolvedValue,
}Expand description
A successfully resolved token (type + value pair).
Fields§
§token_type: TokenType§value: ResolvedValueTrait Implementations§
Source§impl Clone for ResolvedToken
impl Clone for ResolvedToken
Source§fn clone(&self) -> ResolvedToken
fn clone(&self) -> ResolvedToken
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 ResolvedToken
impl Debug for ResolvedToken
Source§impl PartialEq for ResolvedToken
impl PartialEq for ResolvedToken
Source§fn eq(&self, other: &ResolvedToken) -> bool
fn eq(&self, other: &ResolvedToken) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedToken
Auto Trait Implementations§
impl Freeze for ResolvedToken
impl RefUnwindSafe for ResolvedToken
impl Send for ResolvedToken
impl Sync for ResolvedToken
impl Unpin for ResolvedToken
impl UnsafeUnpin for ResolvedToken
impl UnwindSafe for ResolvedToken
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