Struct makepad_live_compiler::span::TextPos
source · pub struct TextPos {
pub line: u32,
pub column: u32,
}
Fields§
§line: u32
§column: u32
Trait Implementations§
source§impl Ord for TextPos
impl Ord for TextPos
source§impl PartialEq<TextPos> for TextPos
impl PartialEq<TextPos> for TextPos
source§impl PartialOrd<TextPos> for TextPos
impl PartialOrd<TextPos> for TextPos
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 TextPos
impl Eq for TextPos
impl StructuralEq for TextPos
impl StructuralPartialEq for TextPos
Auto Trait Implementations§
impl RefUnwindSafe for TextPos
impl Send for TextPos
impl Sync for TextPos
impl Unpin for TextPos
impl UnwindSafe for TextPos
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