Struct makepad_live_tokenizer::tokenizer::TokenPos
source · pub struct TokenPos {
pub line: usize,
pub index: usize,
}
Fields§
§line: usize
§index: usize
Trait Implementations§
source§impl Ord for TokenPos
impl Ord for TokenPos
source§impl PartialEq<TokenPos> for TokenPos
impl PartialEq<TokenPos> for TokenPos
source§impl PartialOrd<TokenPos> for TokenPos
impl PartialOrd<TokenPos> for TokenPos
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TokenPos
impl Eq for TokenPos
impl StructuralEq for TokenPos
impl StructuralPartialEq for TokenPos
Auto Trait Implementations§
impl RefUnwindSafe for TokenPos
impl Send for TokenPos
impl Sync for TokenPos
impl Unpin for TokenPos
impl UnwindSafe for TokenPos
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