#[repr(C)]pub struct TextRange {
pub s: usize,
pub e: usize,
}
Fields§
§s: usize
§e: usize
Trait Implementations§
source§impl PartialEq for TextRange
impl PartialEq for TextRange
impl StructuralPartialEq for TextRange
Auto Trait Implementations§
impl RefUnwindSafe for TextRange
impl Send for TextRange
impl Sync for TextRange
impl Unpin for TextRange
impl UnwindSafe for TextRange
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