pub struct MatchTokenResult {
pub source: String,
pub value: Value,
}Fields§
§source: StringNon-empty source prefix consumed by the match.
value: ValueToken value exposed to rule actions.
Implementations§
Trait Implementations§
Source§impl Clone for MatchTokenResult
impl Clone for MatchTokenResult
Source§impl Debug for MatchTokenResult
impl Debug for MatchTokenResult
Source§impl PartialEq for MatchTokenResult
impl PartialEq for MatchTokenResult
impl StructuralPartialEq for MatchTokenResult
Auto Trait Implementations§
impl Freeze for MatchTokenResult
impl RefUnwindSafe for MatchTokenResult
impl Send for MatchTokenResult
impl Sync for MatchTokenResult
impl Unpin for MatchTokenResult
impl UnsafeUnpin for MatchTokenResult
impl UnwindSafe for MatchTokenResult
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