pub struct WordRange {
pub begin: WordPlace,
pub end: WordPlace,
}Expand description
A range of positions within the laid-out text.
Corresponds to upstream CPVT_WordRange.
Fields§
§begin: WordPlaceStart position (inclusive).
end: WordPlaceEnd position (exclusive).
Trait Implementations§
impl Copy for WordRange
impl Eq for WordRange
impl StructuralPartialEq for WordRange
Auto Trait Implementations§
impl Freeze for WordRange
impl RefUnwindSafe for WordRange
impl Send for WordRange
impl Sync for WordRange
impl Unpin for WordRange
impl UnsafeUnpin for WordRange
impl UnwindSafe for WordRange
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