Struct makepad_live_compiler::span::TokenSpan
source · pub struct TokenSpan {
pub token_id: LiveTokenId,
pub len: usize,
}
Fields§
§token_id: LiveTokenId
§len: usize
Trait Implementations§
source§impl From<LiveTokenId> for TokenSpan
impl From<LiveTokenId> for TokenSpan
source§fn from(val: LiveTokenId) -> Self
fn from(val: LiveTokenId) -> Self
Converts to this type from the input type.
source§impl From<TokenSpan> for LiveErrorSpan
impl From<TokenSpan> for LiveErrorSpan
source§impl Ord for TokenSpan
impl Ord for TokenSpan
source§impl PartialEq<TokenSpan> for TokenSpan
impl PartialEq<TokenSpan> for TokenSpan
source§impl PartialOrd<TokenSpan> for TokenSpan
impl PartialOrd<TokenSpan> for TokenSpan
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 TokenSpan
impl Eq for TokenSpan
impl StructuralEq for TokenSpan
impl StructuralPartialEq for TokenSpan
Auto Trait Implementations§
impl RefUnwindSafe for TokenSpan
impl Send for TokenSpan
impl Sync for TokenSpan
impl Unpin for TokenSpan
impl UnwindSafe for TokenSpan
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