pub struct CurrentToken {
pub token: String,
pub start: FilePosition,
}Fields§
§token: String§start: FilePositionImplementations§
Trait Implementations§
Source§impl Clone for CurrentToken
impl Clone for CurrentToken
Source§fn clone(&self) -> CurrentToken
fn clone(&self) -> CurrentToken
Returns a duplicate of the value. Read more
1.0.0 · 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 CurrentToken
impl Debug for CurrentToken
Source§impl Default for CurrentToken
impl Default for CurrentToken
Source§fn default() -> CurrentToken
fn default() -> CurrentToken
Returns the “default value” for a type. Read more
Source§impl Push<String> for CurrentToken
impl Push<String> for CurrentToken
fn push(&mut self, c: String, pos: FilePosition)
Source§impl Push<char> for CurrentToken
impl Push<char> for CurrentToken
fn push(&mut self, c: char, pos: FilePosition)
Auto Trait Implementations§
impl Freeze for CurrentToken
impl RefUnwindSafe for CurrentToken
impl Send for CurrentToken
impl Sync for CurrentToken
impl Unpin for CurrentToken
impl UnsafeUnpin for CurrentToken
impl UnwindSafe for CurrentToken
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